smp_apic_timer_interrupt entry point
I am trying to hunt down the entry point to smp_apic_timer_interrupt() for i386. grep found:
arch/x86_64/kernel/entry.S: apicinterrupt LOCAL_TIMER_VECTOR,smp_apic_timer_interrupt
but nothing for i386. I noticed that entry.o on i386 does contain the string "smp_apic_timer_interrupt", is there some kind of linker magic going on?
Thanks,
Signature · 1 line
Darren Hart <[email protected]>
Quoted 8 lines · Darren Hart
I am trying to hunt down the entry point to
smp_apic_timer_interrupt()for i386. grep found:
arch/x86_64/kernel/entry.S: apicinterrupt LOCAL_TIMER_VECTOR,smp_apic_timer_interruptbut nothing for i386. I noticed that entry.o on i386 does contain the string "
smp_apic_timer_interrupt", is there some kind of linker magic going on?
Not linker magic, but macro magic. Look again at entry.S at BUILD_INTERRUPT. It adds the smp_ onto apic_timer_interrupt. Then look where apic_timer_interrupt is used.
Signature · 3 lines
Steven Rostedt Senior Engineer Kihon Technologies