diff options
author | Paul Mackerras <paulus@samba.org> | 2005-08-04 12:53:37 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-04 13:00:55 -0700 |
commit | 6d22d85a852b72398a81b8e476977b28b4400f7c (patch) | |
tree | 3824c246813b7c326bceedc0b8c3c8ca49c7fd0b /arch/ppc64/kernel/mpic.c | |
parent | 48f1f5328267f52a34e61b8b0e6fc55a23c1348a (diff) | |
download | op-kernel-dev-6d22d85a852b72398a81b8e476977b28b4400f7c.zip op-kernel-dev-6d22d85a852b72398a81b8e476977b28b4400f7c.tar.gz |
[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 <hbabu@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc64/kernel/mpic.c')
-rw-r--r-- | arch/ppc64/kernel/mpic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc64/kernel/mpic.c b/arch/ppc64/kernel/mpic.c index e8fbab1..cc262a0 100644 --- a/arch/ppc64/kernel/mpic.c +++ b/arch/ppc64/kernel/mpic.c @@ -794,10 +794,10 @@ void mpic_setup_this_cpu(void) /* * XXX: someone who knows mpic should check this. - * do we need to eoi the ipi here (see xics comments)? + * do we need to eoi the ipi including for kexec cpu here (see xics comments)? * or can we reset the mpic in the new kernel? */ -void mpic_teardown_this_cpu(void) +void mpic_teardown_this_cpu(int secondary) { struct mpic *mpic = mpic_primary; unsigned long flags; |