aboutsummaryrefslogtreecommitdiffstats
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 @@
5 */ 5 */
6 6
7#include <linux/sched.h> 7#include <linux/sched.h>
8#include <linux/kbuild.h>
8 9
9/* Use marker if you need to separate the values later */ 10/* Use marker if you need to separate the values later */
10 11#undef DEFINE
11#define DEFINE(sym, val, marker) \ 12#define DEFINE(sym, val, marker) \
12 asm volatile("\n->" #sym " %0 " #val " " #marker : : "i" (val)) 13 asm volatile("\n->" #sym " %0 " #val " " #marker : : "i" (val))
13 14
14#define BLANK() asm volatile("\n->" : : )
15
16int main(void) 15int main(void)
17{ 16{
18 DEFINE(__THREAD_info, offsetof(struct task_struct, stack),); 17 DEFINE(__THREAD_info, offsetof(struct task_struct, stack),);