summaryrefslogtreecommitdiff
path: root/arch/microblaze/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2020-11-26 16:32:25 +0300
committerMichal Simek <michal.simek@xilinx.com>2020-11-26 18:39:35 +0300
commit05cdf457477d6603b207d91873f0a3d4c7f8c1cd (patch)
tree187900c636e5c8b9da2fe4344cbc8658ab92541a /arch/microblaze/kernel/asm-offsets.c
parented2124c0b9a8d2c09e3b5b9ca9827187c5fcbe71 (diff)
downloadlinux-05cdf457477d6603b207d91873f0a3d4c7f8c1cd.tar.xz
microblaze: Remove noMMU code
This configuration is obsolete and likely none is really using it. That's why remove it to simplify code. Note about CONFIG_MMU in hw_exception_handler.S is left intentionally for better comment understanding. Cc: Mike Rapoport <rppt@kernel.org> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Mike Rapoport <rppt@linux.ibm.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/43486cab370e0c0a79860120b71e0caac75a7e44.1606397528.git.michal.simek@xilinx.com
Diffstat (limited to 'arch/microblaze/kernel/asm-offsets.c')
-rw-r--r--arch/microblaze/kernel/asm-offsets.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/microblaze/kernel/asm-offsets.c b/arch/microblaze/kernel/asm-offsets.c
index c1b459c97571..6c69ce7be2e8 100644
--- a/arch/microblaze/kernel/asm-offsets.c
+++ b/arch/microblaze/kernel/asm-offsets.c
@@ -70,7 +70,6 @@ int main(int argc, char *argv[])
/* struct task_struct */
DEFINE(TS_THREAD_INFO, offsetof(struct task_struct, stack));
-#ifdef CONFIG_MMU
DEFINE(TASK_STATE, offsetof(struct task_struct, state));
DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags));
DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace));
@@ -84,7 +83,6 @@ int main(int argc, char *argv[])
DEFINE(PGDIR, offsetof(struct thread_struct, pgdir));
BLANK();
-#endif
/* struct thread_info */
DEFINE(TI_TASK, offsetof(struct thread_info, task));