summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/syscall_64.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2020-11-19 15:43:53 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2020-11-19 15:47:20 +0300
commit178d52c6e89c38d0553b0ac8b99927b11eb995b0 (patch)
tree5be07736829467698d8a7f4ed691c8d9b0487db1 /arch/powerpc/kernel/syscall_64.c
parent9a32a7e78bd0cd9a9b6332cbdc345ee5ffd0c5de (diff)
downloadlinux-178d52c6e89c38d0553b0ac8b99927b11eb995b0.tar.xz
powerpc: Only include kup-radix.h for 64-bit Book3S
In kup.h we currently include kup-radix.h for all 64-bit builds, which includes Book3S and Book3E. The latter doesn't make sense, Book3E never uses the Radix MMU. This has worked up until now, but almost by accident, and the recent uaccess flush changes introduced a build breakage on Book3E because of the bad structure of the code. So disentangle things so that we only use kup-radix.h for Book3S. This requires some more stubs in kup.h and fixing an include in syscall_64.c. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/syscall_64.c')
-rw-r--r--arch/powerpc/kernel/syscall_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/syscall_64.c b/arch/powerpc/kernel/syscall_64.c
index 8e50818aa50b..310bcd768cd5 100644
--- a/arch/powerpc/kernel/syscall_64.c
+++ b/arch/powerpc/kernel/syscall_64.c
@@ -2,7 +2,7 @@
#include <linux/err.h>
#include <asm/asm-prototypes.h>
-#include <asm/book3s/64/kup-radix.h>
+#include <asm/kup.h>
#include <asm/cputime.h>
#include <asm/hw_irq.h>
#include <asm/kprobes.h>