Commit 32b07679 authored by Christoph Lameter's avatar Christoph Lameter Committed by Linus Torvalds

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

Signed-off-by: default avatarChristoph Lameter <clameter@sgi.com>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0fcfbb1d
...@@ -12,11 +12,7 @@ ...@@ -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)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment