aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2020-04-21 09:20:28 +0000
committerBorislav Petkov <[email protected]>2020-04-24 13:55:50 +0000
commit8c5cc19e94703182647dfccc164e4437a04539c8 (patch)
treec244e843d16a250eb8ee2b59f6bcc61cc4875a47 /arch/powerpc/lib/code-patching.c
parentx86/mm: Use pgprotval_t in protval_4k_2_large() and protval_large_2_4k() (diff)
downloadkernel-8c5cc19e94703182647dfccc164e4437a04539c8.tar.gz
kernel-8c5cc19e94703182647dfccc164e4437a04539c8.zip
x86/tlb: Uninline __get_current_cr3_fast()
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. In preparation for unexporting cpu_tlbstate move __get_current_cr3_fast() into the x86 TLB management 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]> Acked-by: Andy Lutomirski <[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