diff options
| author | Bruce Evans <bde@FreeBSD.org> | 2003-12-02 15:02:12 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 2003-12-02 15:02:12 +0000 |
| commit | 4e72678deecd23f669f8cf225e67b6a6254c991f (patch) | |
| tree | 32c9eec2760f0e1dde5734c5a0456bffbcf0cad5 /sys | |
| parent | fb0ca10d0c43b5538b8899e6940babf6baa7808e (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/i386/i386/apic_vector.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/i386/apic_vector.s b/sys/i386/i386/apic_vector.s index ecc4c6741728..871fd7981676 100644 --- a/sys/i386/i386/apic_vector.s +++ b/sys/i386/i386/apic_vector.s @@ -81,13 +81,13 @@ IDTVEC(vec_name) ; \ mov %ax, %es ; \ movl $KPSEL, %eax ; /* reload with per-CPU data segment */ \ mov %ax, %fs ; \ + FAKE_MCOUNT(13*4(%esp)) ; \ movl lapic, %edx ; /* pointer to local APIC */ \ movl LA_ISR + 16 * (index)(%edx), %eax ; /* load ISR */ \ bsrl %eax, %eax ; /* index of highset set bit in ISR */ \ jz 2f ; \ addl $(32 * index),%eax ; \ 1: ; \ - FAKE_MCOUNT(13*4(%esp)) ; /* XXX avoid double count */ \ pushl %eax ; /* pass the IRQ */ \ call lapic_handle_intr ; \ addl $4, %esp ; /* discard parameter */ \ |
