diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2023-04-06 22:21:18 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-04-20 13:21:48 +1000 |
commit | e5b6634aa1bcbd43120b2fd6f15780f00e9e7f66 (patch) | |
tree | 367b2f2d79b3e791f1c14200ad8f4ef13280c2c4 | |
parent | 9ab9de2f3aa99ab6245203236d66a057d73b7e9f (diff) | |
download | linux-e5b6634aa1bcbd43120b2fd6f15780f00e9e7f66.tar.gz linux-e5b6634aa1bcbd43120b2fd6f15780f00e9e7f66.tar.bz2 linux-e5b6634aa1bcbd43120b2fd6f15780f00e9e7f66.zip |
powerpc/irq: Mark check_return_regs_valid() notrace
check_return_regs_valid() is called from the middle of the irq exit
handling, which is all notrace, so mark it notrace also.
Reported-by: Sachin Sant <sachinp@linux.ibm.com>
Link: https://lore.kernel.org/all/4C073F6A-C812-4C4A-BB7A-ECD10B75FB88@linux.ibm.com/
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230406122118.3760344-1-mpe@ellerman.id.au
-rw-r--r-- | arch/powerpc/kernel/interrupt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/interrupt.c b/arch/powerpc/kernel/interrupt.c index 0ec1581619db..e34c72285b4e 100644 --- a/arch/powerpc/kernel/interrupt.c +++ b/arch/powerpc/kernel/interrupt.c @@ -95,7 +95,7 @@ static notrace void booke_load_dbcr0(void) #endif } -static void check_return_regs_valid(struct pt_regs *regs) +static notrace void check_return_regs_valid(struct pt_regs *regs) { #ifdef CONFIG_PPC_BOOK3S_64 unsigned long trap, srr0, srr1; |