From: Christoph Lameter Date: Tue, 29 Apr 2008 08:04:00 +0000 (-0700) Subject: xtensa: use kbuild.h macros instead of defining them in asm-offsets.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0fcfbb1d317593d3d713a850bfdb310cc1585ae2;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git xtensa: use kbuild.h macros instead of defining them in asm-offsets.c Signed-off-by: Christoph Lameter Cc: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/xtensa/kernel/asm-offsets.c b/arch/xtensa/kernel/asm-offsets.c index ef63adadf7f4..070ff8af3a21 100644 --- a/arch/xtensa/kernel/asm-offsets.c +++ b/arch/xtensa/kernel/asm-offsets.c @@ -19,12 +19,11 @@ #include #include #include +#include #include #include -#define DEFINE(sym, val) asm volatile("\n->" #sym " %0 " #val : : "i" (val)) - int main(void) { /* struct pt_regs */