projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fcfbb1
)
sparc: use kbuild.h instead of defining macros in asm-offsets.c
author
Christoph Lameter
<clameter@sgi.com>
Tue, 29 Apr 2008 08:04:01 +0000
(
01:04
-0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:29 +0000
(08:06 -0700)
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>
arch/sparc/kernel/asm-offsets.c
patch
|
blob
|
history
diff --git
a/arch/sparc/kernel/asm-offsets.c
b/arch/sparc/kernel/asm-offsets.c
index
6773ed7
..
cd3f769
100644
(file)
--- a/
arch/sparc/kernel/asm-offsets.c
+++ b/
arch/sparc/kernel/asm-offsets.c
@@
-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)
{