aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/entry_64.S
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2020-03-20 11:20:16 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2020-04-03 00:10:00 +1100
commit0a7601b6ffddec11d7cc0bc3264daf0159f5e1a6 (patch)
tree52797f64ba38524d73d1c66c1379e5a922a68065 /arch/powerpc/kernel/entry_64.S
parent2910428106ebf23a9a2176cb751749edb2ce57e2 (diff)
downloadlinux-0a7601b6ffddec11d7cc0bc3264daf0159f5e1a6.tar.gz
powerpc/64: make buildable without CONFIG_COMPAT
There are numerous references to 32bit functions in generic and 64bit code so ifdef them out. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/e5619617020ef3a1f54f0c076e7d74cb9ec9f3bf.1584699455.git.msuchanek@suse.de
Diffstat (limited to 'arch/powerpc/kernel/entry_64.S')
-rw-r--r--arch/powerpc/kernel/entry_64.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S
index 63f0a4414618a2..9a1e5d636dea99 100644
--- a/arch/powerpc/kernel/entry_64.S
+++ b/arch/powerpc/kernel/entry_64.S
@@ -52,8 +52,10 @@
SYS_CALL_TABLE:
.tc sys_call_table[TC],sys_call_table
+#ifdef CONFIG_COMPAT
COMPAT_SYS_CALL_TABLE:
.tc compat_sys_call_table[TC],compat_sys_call_table
+#endif
/* This value is used to mark exception frames on the stack. */
exception_marker: