Skip to content

Commit 1db550f

Browse files
ajdlinuxmpe
authored andcommitted
powerpc/64s/exception: Fix kaup -> kuap typo
It's KUAP, not KAUP. Fix typo in INT_COMMON macro. Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20191022060603.24101-1-ajd@linux.ibm.com
1 parent bbbd7f1 commit 1db550f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/powerpc/kernel/exceptions-64s.S

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ END_FTR_SECTION_NESTED(CPU_FTR_HAS_PPR,CPU_FTR_HAS_PPR,948)
514514
* If stack=0, then the stack is already set in r1, and r1 is saved in r10.
515515
* PPR save and CPU accounting is not done for the !stack case (XXX why not?)
516516
*/
517-
.macro INT_COMMON vec, area, stack, kaup, reconcile, dar, dsisr
517+
.macro INT_COMMON vec, area, stack, kuap, reconcile, dar, dsisr
518518
.if \stack
519519
andi. r10,r12,MSR_PR /* See if coming from user */
520520
mr r10,r1 /* Save r1 */
@@ -533,15 +533,15 @@ END_FTR_SECTION_NESTED(CPU_FTR_HAS_PPR,CPU_FTR_HAS_PPR,948)
533533
std r10,GPR1(r1) /* save r1 in stackframe */
534534

535535
.if \stack
536-
.if \kaup
536+
.if \kuap
537537
kuap_save_amr_and_lock r9, r10, cr1, cr0
538538
.endif
539539
beq 101f /* if from kernel mode */
540540
ACCOUNT_CPU_USER_ENTRY(r13, r9, r10)
541541
SAVE_PPR(\area, r9)
542542
101:
543543
.else
544-
.if \kaup
544+
.if \kuap
545545
kuap_save_amr_and_lock r9, r10, cr1
546546
.endif
547547
.endif

0 commit comments

Comments
 (0)