diff options
author | Richard Weinberger <richard@nod.at> | 2015-04-12 18:10:36 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-04-12 21:03:29 +0200 |
commit | cb418fdb33feba951187f6e01e9f78d3cd2dacbb (patch) | |
tree | 5b41a82a0b48d5893850890e993340528d6bca83 /arch/xtensa/include | |
parent | x86: Remove signal translation and exec_domain (diff) | |
download | linux-cb418fdb33feba951187f6e01e9f78d3cd2dacbb.tar.xz linux-cb418fdb33feba951187f6e01e9f78d3cd2dacbb.zip |
xtensa: Autogenerate offsets in struct thread_info
Maintaining offsets by hand is no fun.
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/xtensa/include')
-rw-r--r-- | arch/xtensa/include/asm/thread_info.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/xtensa/include/asm/thread_info.h b/arch/xtensa/include/asm/thread_info.h index a9b5d3ba196c..baa1f279f59f 100644 --- a/arch/xtensa/include/asm/thread_info.h +++ b/arch/xtensa/include/asm/thread_info.h @@ -61,17 +61,6 @@ struct thread_info { xtregs_user_t xtregs_user; }; -#else /* !__ASSEMBLY__ */ - -/* offsets into the thread_info struct for assembly code access */ -#define TI_TASK 0x00000000 -#define TI_EXEC_DOMAIN 0x00000004 -#define TI_FLAGS 0x00000008 -#define TI_STATUS 0x0000000C -#define TI_CPU 0x00000010 -#define TI_PRE_COUNT 0x00000014 -#define TI_ADDR_LIMIT 0x00000018 - #endif /* |