diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2005-06-25 14:57:44 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-25 16:24:47 -0700 |
commit | 650927ef8ab1e9b05b77a3f32ca7adcedaae9306 (patch) | |
tree | 25ae75b36a2543d6f7ccc6bbe30c35c65d038ee3 /include/asm-i386/apic.h | |
parent | 719e711050482be667dafd39ec787859d353931c (diff) | |
download | op-kernel-dev-650927ef8ab1e9b05b77a3f32ca7adcedaae9306.zip op-kernel-dev-650927ef8ab1e9b05b77a3f32ca7adcedaae9306.tar.gz |
[PATCH] kexec: x86: resture apic virtual wire mode on shutdown
When coming out of apic mode attempt to set the appropriate
apic back into virtual wire mode. This improves on previous versions
of this patch by by never setting bot the local apic and the ioapic
into veritual wire mode.
This code looks at data from the mptable to see if an ioapic has
an ExtInt input to make this decision. A future improvement
is to figure out which apic or ioapic was in virtual wire mode
at boot time and to remember it. That is potentially a more accurate
method, of selecting which apic to place in virutal wire mode.
Signed-off-by: Eric Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386/apic.h')
-rw-r--r-- | include/asm-i386/apic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/apic.h b/include/asm-i386/apic.h index 53268cd..6a1b188 100644 --- a/include/asm-i386/apic.h +++ b/include/asm-i386/apic.h @@ -100,7 +100,7 @@ extern void (*wait_timer_tick)(void); extern int get_maxlvt(void); extern void clear_local_APIC(void); extern void connect_bsp_APIC (void); -extern void disconnect_bsp_APIC (void); +extern void disconnect_bsp_APIC (int virt_wire_setup); extern void disable_local_APIC (void); extern void lapic_shutdown (void); extern int verify_local_APIC (void); |