Skip to content

Commit bf9155f

Browse files
npigginmpe
authored andcommitted
powerpc: remove interrupt exit helpers unused argument
The msr argument is not used, remove it. Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 9a3ed7a commit bf9155f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

arch/powerpc/include/asm/asm-prototypes.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ void __init machine_init(u64 dt_ptr);
7171
#endif
7272
long system_call_exception(long r3, long r4, long r5, long r6, long r7, long r8, unsigned long r0, struct pt_regs *regs);
7373
notrace unsigned long syscall_exit_prepare(unsigned long r3, struct pt_regs *regs, long scv);
74-
notrace unsigned long interrupt_exit_user_prepare(struct pt_regs *regs, unsigned long msr);
75-
notrace unsigned long interrupt_exit_kernel_prepare(struct pt_regs *regs, unsigned long msr);
74+
notrace unsigned long interrupt_exit_user_prepare(struct pt_regs *regs);
75+
notrace unsigned long interrupt_exit_kernel_prepare(struct pt_regs *regs);
7676

7777
long ppc_fadvise64_64(int fd, int advice, u32 offset_high, u32 offset_low,
7878
u32 len_high, u32 len_low);

arch/powerpc/kernel/interrupt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ notrace unsigned long syscall_exit_prepare(unsigned long r3,
352352
return ret;
353353
}
354354

355-
notrace unsigned long interrupt_exit_user_prepare(struct pt_regs *regs, unsigned long msr)
355+
notrace unsigned long interrupt_exit_user_prepare(struct pt_regs *regs)
356356
{
357357
unsigned long ti_flags;
358358
unsigned long flags;
@@ -431,7 +431,7 @@ notrace unsigned long interrupt_exit_user_prepare(struct pt_regs *regs, unsigned
431431

432432
void preempt_schedule_irq(void);
433433

434-
notrace unsigned long interrupt_exit_kernel_prepare(struct pt_regs *regs, unsigned long msr)
434+
notrace unsigned long interrupt_exit_kernel_prepare(struct pt_regs *regs)
435435
{
436436
unsigned long flags;
437437
unsigned long ret = 0;

0 commit comments

Comments
 (0)