mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 16:11:45 +00:00
powerpc: call_do_[soft]irq() takes a pointer to the stack
The purpose of the pointer given to call_do_softirq() and call_do_irq() is to point the new stack. Currently that's the same thing as the thread_info, but won't be with THREAD_INFO_IN_TASK. So change the parameter to void* and rename it 'sp'. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Reviewed-by: Nicholas Piggin <npiggin@gmail.com> [mpe: Split out of larger patch] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
8c1fc5abdc
commit
1e35f29c6b
2 changed files with 3 additions and 3 deletions
|
@ -63,8 +63,8 @@ extern struct thread_info *hardirq_ctx[NR_CPUS];
|
||||||
extern struct thread_info *softirq_ctx[NR_CPUS];
|
extern struct thread_info *softirq_ctx[NR_CPUS];
|
||||||
|
|
||||||
extern void irq_ctx_init(void);
|
extern void irq_ctx_init(void);
|
||||||
extern void call_do_softirq(struct thread_info *tp);
|
void call_do_softirq(void *sp);
|
||||||
extern void call_do_irq(struct pt_regs *regs, struct thread_info *tp);
|
void call_do_irq(struct pt_regs *regs, void *sp);
|
||||||
extern void do_IRQ(struct pt_regs *regs);
|
extern void do_IRQ(struct pt_regs *regs);
|
||||||
extern void __init init_IRQ(void);
|
extern void __init init_IRQ(void);
|
||||||
extern void __do_irq(struct pt_regs *regs);
|
extern void __do_irq(struct pt_regs *regs);
|
||||||
|
|
|
@ -60,7 +60,7 @@ _GLOBAL(call_do_softirq)
|
||||||
blr
|
blr
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* void call_do_irq(struct pt_regs *regs, struct thread_info *irqtp);
|
* void call_do_irq(struct pt_regs *regs, void *sp);
|
||||||
*/
|
*/
|
||||||
_GLOBAL(call_do_irq)
|
_GLOBAL(call_do_irq)
|
||||||
mflr r0
|
mflr r0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue