sparc: use kbuild.h instead of defining macros in asm-offsets.c

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Christoph Lameter 2008-04-29 01:04:01 -07:00 committed by Linus Torvalds
parent 0fcfbb1d31
commit 32b07679b4

View File

@ -12,11 +12,7 @@
#include <linux/sched.h> #include <linux/sched.h>
// #include <linux/mm.h> // #include <linux/mm.h>
#include <linux/kbuild.h>
#define DEFINE(sym, val) \
asm volatile("\n->" #sym " %0 " #val : : "i" (val))
#define BLANK() asm volatile("\n->" : : )
int foo(void) int foo(void)
{ {