aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2020-04-21 09:20:40 +0000
committerBorislav Petkov <[email protected]>2020-04-26 16:47:05 +0000
commitaf5c40c6ee057c5354930abdc4d34be013d0e9e0 (patch)
tree2f896585df0ad3e920159e8c630dbc70ab136f26 /arch/powerpc/lib/code-patching.c
parentx86/tlb: Move cr4_set_bits_and_update_boot() to the usage site (diff)
downloadkernel-af5c40c6ee057c5354930abdc4d34be013d0e9e0.tar.gz
kernel-af5c40c6ee057c5354930abdc4d34be013d0e9e0.zip
x86/tlb: Uninline nmi_uaccess_okay()
cpu_tlbstate is exported because various TLB-related functions need access to it, but cpu_tlbstate is sensitive information which should only be accessed by well-contained kernel functions and not be directly exposed to modules. nmi_access_ok() is the last inline function which requires access to cpu_tlbstate. Move it into the TLB code. No functional change. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Alexandre Chartre <[email protected]> Acked-by: Peter Zijlstra (Intel) <[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