aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2020-05-03 10:27:29 +0000
committerBorislav Petkov <[email protected]>2020-05-03 19:43:47 +0000
commitbd1de2a7aace4d1d312fb1be264b8fafdb706208 (patch)
tree98ffdd1eb87d44f54f7c84ccc546f0c8129a7ff2 /arch/powerpc/lib/code-patching.c
parentx86/cpu: Export native_write_cr4() only when CONFIG_LKTDM=m (diff)
downloadkernel-bd1de2a7aace4d1d312fb1be264b8fafdb706208.tar.gz
kernel-bd1de2a7aace4d1d312fb1be264b8fafdb706208.zip
x86/tlb/uv: Add a forward declaration for struct flush_tlb_info
... to fix these build warnings: In file included from ./arch/x86/include/asm/uv/uv_hub.h:22, from drivers/misc/sgi-gru/grukdump.c:16: ./arch/x86/include/asm/uv/uv.h:39:21: warning: ‘struct flush_tlb_info’ declared \ inside parameter list will not be visible outside of this definition or declaration 39 | const struct flush_tlb_info *info); | ^~~~~~~~~~~~~~ In file included from ./arch/x86/include/asm/uv/uv_hub.h:22, from drivers/misc/sgi-gru/grutlbpurge.c:28: ./arch/x86/include/asm/uv/uv.h:39:21: warning: ‘struct flush_tlb_info’ declared \ inside parameter list will not be visible outside of this definition or declaration 39 | const struct flush_tlb_info *info); | ^~~~~~~~~~~~~~ ... after bfe3d8f6313d ("x86/tlb: Restrict access to tlbstate") restricted access to tlbstate. Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions