]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
powerpc: remove interrupt exit helpers unused argument
authorNicholas Piggin <npiggin@gmail.com>
Thu, 17 Jun 2021 15:51:01 +0000 (01:51 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Jun 2021 14:06:55 +0000 (00:06 +1000)
The msr argument is not used, remove it.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210617155116.2167984-3-npiggin@gmail.com
arch/powerpc/include/asm/asm-prototypes.h
arch/powerpc/kernel/interrupt.c

index 02ee6f5ac9fe9e1f91f19fc9ed3a2f7be2b4f373..8dc8dc00626725fe9ab2c1896d9511a0b8a70ebb 100644 (file)
@@ -71,8 +71,8 @@ void __init machine_init(u64 dt_ptr);
 #endif
 long system_call_exception(long r3, long r4, long r5, long r6, long r7, long r8, unsigned long r0, struct pt_regs *regs);
 notrace unsigned long syscall_exit_prepare(unsigned long r3, struct pt_regs *regs, long scv);
-notrace unsigned long interrupt_exit_user_prepare(struct pt_regs *regs, unsigned long msr);
-notrace unsigned long interrupt_exit_kernel_prepare(struct pt_regs *regs, unsigned long msr);
+notrace unsigned long interrupt_exit_user_prepare(struct pt_regs *regs);
+notrace unsigned long interrupt_exit_kernel_prepare(struct pt_regs *regs);
 
 long ppc_fadvise64_64(int fd, int advice, u32 offset_high, u32 offset_low,
                      u32 len_high, u32 len_low);
index f2baeee437f712e4ef92bec5eb29a1649a9b6ca7..05fa3ae56e259ea60cf95f09a82432241a183e6c 100644 (file)
@@ -352,7 +352,7 @@ again:
        return ret;
 }
 
-notrace unsigned long interrupt_exit_user_prepare(struct pt_regs *regs, unsigned long msr)
+notrace unsigned long interrupt_exit_user_prepare(struct pt_regs *regs)
 {
        unsigned long ti_flags;
        unsigned long flags;
@@ -431,7 +431,7 @@ again:
 
 void preempt_schedule_irq(void);
 
-notrace unsigned long interrupt_exit_kernel_prepare(struct pt_regs *regs, unsigned long msr)
+notrace unsigned long interrupt_exit_kernel_prepare(struct pt_regs *regs)
 {
        unsigned long flags;
        unsigned long ret = 0;