aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/kernel/asm-offsets.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/s390/kernel/asm-offsets.c b/arch/s390/kernel/asm-offsets.c
index 1375f8a4469..f7807b81c47 100644
--- a/arch/s390/kernel/asm-offsets.c
+++ b/arch/s390/kernel/asm-offsets.c
@@ -5,14 +5,13 @@
*/
#include <linux/sched.h>
+#include <linux/kbuild.h>
/* Use marker if you need to separate the values later */
-
+#undef DEFINE
#define DEFINE(sym, val, marker) \
asm volatile("\n->" #sym " %0 " #val " " #marker : : "i" (val))
-#define BLANK() asm volatile("\n->" : : )
-
int main(void)
{
DEFINE(__THREAD_info, offsetof(struct task_struct, stack),);