mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[PATCH] ppc64: fix for kexec boot issue
The kexec boot is not successful on some power machines since all CPUs are getting removed from global interrupt queue (GIQ) before kexec boot. Some systems always expect at least one CPU in GIQ. Hence, this patch will make sure that only secondary CPUs are removed from GIQ. Signed-off-by: Haren Myneni <[email protected]> Signed-off-by: Paul Mackerras <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
48f1f53282
commit
6d22d85a85
6 changed files with 24 additions and 23 deletions
|
|
@ -84,7 +84,7 @@ struct machdep_calls {
|
|||
|
||||
void (*init_IRQ)(void);
|
||||
int (*get_irq)(struct pt_regs *);
|
||||
void (*cpu_irq_down)(void);
|
||||
void (*cpu_irq_down)(int secondary);
|
||||
|
||||
/* PCI stuff */
|
||||
void (*pcibios_fixup)(void);
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
void xics_init_IRQ(void);
|
||||
int xics_get_irq(struct pt_regs *);
|
||||
void xics_setup_cpu(void);
|
||||
void xics_teardown_cpu(void);
|
||||
void xics_teardown_cpu(int secondary);
|
||||
void xics_cause_IPI(int cpu);
|
||||
void xics_request_IPIs(void);
|
||||
void xics_migrate_irqs_away(void);
|
||||
|
|
|
|||
Loading…
Reference in a new issue