Skip to contentSkip to conversation

x86_64: Remove useless KDB vector

PATCH Dan Aloni 2 participants 2 messages Jan 23, 2006

lore
Share & tools
lore

Dan Aloni

author
#0 lore raw
Quoted 2 lines

It was set as an NMI, but the NMI bit always forces an interrupt to end up at vector 2. So it was never used. Remove.

So with this function removed, what is the proper fix for using the kdb x86_64 patch (forward-ported from 2.6.14) on 2.6.16-rc1? Can I expect it to work properly if I just remove the function call?

Signature · 2 lines
Dan Aloni
[email protected], [email protected], [email protected], [email protected]
#1 lore raw
Quoted 7 lines · Dan Aloni
Quoted 2 lines

It was set as an NMI, but the NMI bit always forces an interrupt to end up at vector 2. So it was never used. Remove.

So with this function removed, what is the proper fix for using the kdb x86_64 patch (forward-ported from 2.6.14) on 2.6.16-rc1? Can I expect it to work properly if I just remove the function call?

Add this code snippet to arch/x86_64/kdb/kdbasupport.c

#include <asm/mach_apic.h>
#include <asm/hw_irq.h>
void smp_kdb_stop(void)

{
       send_IPI_allbutself(NMI_VECTOR);
}

-Andi