diff options
author | Christoph Lameter <clameter@sgi.com> | 2008-04-29 08:04:08 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 15:06:30 (GMT) |
commit | d4d298feeaebb43e0a74e5e2333f1b566c34a37c (patch) | |
tree | 0b8f083980e85a133301670ab3b71147a4c7b13e /arch/ppc | |
parent | 943de37dbf313d33d1b4ee15a57fadeeeedc2556 (diff) | |
download | linux-fsl-qoriq-d4d298feeaebb43e0a74e5e2333f1b566c34a37c.tar.xz |
ppc/powerpc: use kbuild.h instead of defining macros in asm-offsets.c
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/kernel/asm-offsets.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/ppc/kernel/asm-offsets.c b/arch/ppc/kernel/asm-offsets.c index a51a177..8dcbdd6 100644 --- a/arch/ppc/kernel/asm-offsets.c +++ b/arch/ppc/kernel/asm-offsets.c @@ -18,6 +18,8 @@ #include <linux/suspend.h> #include <linux/mman.h> #include <linux/mm.h> +#include <linux/kbuild.h> + #include <asm/io.h> #include <asm/page.h> #include <asm/pgtable.h> @@ -26,11 +28,6 @@ #include <asm/thread_info.h> #include <asm/vdso_datapage.h> -#define DEFINE(sym, val) \ - asm volatile("\n->" #sym " %0 " #val : : "i" (val)) - -#define BLANK() asm volatile("\n->" : : ) - int main(void) { |