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:
parent
0fcfbb1d31
commit
32b07679b4
1 changed files with 1 additions and 5 deletions
|
@ -12,11 +12,7 @@
|
|||
|
||||
#include <linux/sched.h>
|
||||
// #include <linux/mm.h>
|
||||
|
||||
#define DEFINE(sym, val) \
|
||||
asm volatile("\n->" #sym " %0 " #val : : "i" (val))
|
||||
|
||||
#define BLANK() asm volatile("\n->" : : )
|
||||
#include <linux/kbuild.h>
|
||||
|
||||
int foo(void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue