diff options
author | Daniel Axtens <dja@axtens.net> | 2020-11-23 13:58:22 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-24 12:48:12 +0100 |
commit | ddedb548ba8501ecbe78f9f61292518745220a8d (patch) | |
tree | a256ed88e9e279db681f58791f775c9ab7088b50 /sound | |
parent | b960e701b478441f2ff633902e8bbdd4719935f2 (diff) | |
download | linux-stable-ddedb548ba8501ecbe78f9f61292518745220a8d.tar.gz linux-stable-ddedb548ba8501ecbe78f9f61292518745220a8d.tar.bz2 linux-stable-ddedb548ba8501ecbe78f9f61292518745220a8d.zip |
powerpc/uaccess-flush: fix corenet64_smp_defconfig build
Gunter reports problems with the corenet64_smp_defconfig:
In file included from arch/powerpc/kernel/ppc_ksyms.c:10:0:
arch/powerpc/include/asm/book3s/64/kup-radix.h:11:29: error: redefinition of ‘allow_user_access’
static __always_inline void allow_user_access(void __user *to, const void __user *from,
^~~~~~~~~~~~~~~~~
In file included from arch/powerpc/include/asm/uaccess.h:12:0,
from arch/powerpc/kernel/ppc_ksyms.c:8:
arch/powerpc/include/asm/kup.h:12:20: note: previous definition of ‘allow_user_access’ was here
static inline void allow_user_access(void __user *to, const void __user *from,
^~~~~~~~~~~~~~~~~
This is because ppc_ksyms.c imports asm/book3s/64/kup-radix.h guarded by
CONFIG_PPC64, rather than CONFIG_PPC_BOOK3S_64 which it should do.
Fix it.
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions