]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
powerpc/64s: Fix allnoconfig build since uaccess flush
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 23 Nov 2020 07:40:16 +0000 (18:40 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 23 Nov 2020 10:16:42 +0000 (21:16 +1100)
commitb6b79dd53082db11070b4368d85dd6699ff0b063
tree25ece750aad6af1ad3242b645c51beb068864b6e
parent962f8e64cd18a5353c34937436dd06b992f73c0a
powerpc/64s: Fix allnoconfig build since uaccess flush

Using DECLARE_STATIC_KEY_FALSE needs linux/jump_table.h.

Otherwise the build fails with eg:

  arch/powerpc/include/asm/book3s/64/kup-radix.h:66:1: warning: data definition has no type or storage class
     66 | DECLARE_STATIC_KEY_FALSE(uaccess_flush_key);

Fixes: 9a32a7e78bd0 ("powerpc/64s: flush L1D after user accesses")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
[mpe: Massage change log]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201123184016.693fe464@canb.auug.org.au
arch/powerpc/include/asm/book3s/64/kup-radix.h