aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorRussell Currey <[email protected]>2019-04-18 06:51:21 +0000
committerMichael Ellerman <[email protected]>2019-04-21 13:05:59 +0000
commitb28c97505eb1a5265e367c398c3406be6ce5e313 (patch)
tree3bab0cfac1668adade710ccdfe9c427338714787 /arch/powerpc/lib/code-patching.c
parentpowerpc: Add a framework for Kernel Userspace Access Protection (diff)
downloadkernel-b28c97505eb1a5265e367c398c3406be6ce5e313.tar.gz
kernel-b28c97505eb1a5265e367c398c3406be6ce5e313.zip
powerpc/64: Setup KUP on secondary CPUs
Some platforms (i.e. Radix MMU) need per-CPU initialisation for KUP. Any platforms that only want to do KUP initialisation once globally can just check to see if they're running on the boot CPU, or check if whatever setup they need has already been performed. Note that this is only for 64-bit. Signed-off-by: Russell Currey <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions