File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -732,7 +732,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_SPE)
732
732
stw r10,_CCR(r1)
733
733
stw r1,KSP(r3) /* Set old stack pointer */
734
734
735
- kuap_check r2, r4
735
+ kuap_check r2, r0
736
736
#ifdef CONFIG_SMP
737
737
/* We need a sync somewhere here to make sure that if the
738
738
* previous task gets rescheduled on another CPU, it sees all
Original file line number Diff line number Diff line change @@ -397,7 +397,7 @@ config PPC_KUAP
397
397
398
398
config PPC_KUAP_DEBUG
399
399
bool "Extra debugging for Kernel Userspace Access Protection"
400
- depends on PPC_KUAP && (PPC_RADIX_MMU || PPC_32 )
400
+ depends on PPC_KUAP && (PPC_RADIX_MMU || PPC32 )
401
401
help
402
402
Add extra debugging for Kernel Userspace Access Protection (KUAP)
403
403
If you're unsure, say N.
You can’t perform that action at this time.
0 commit comments