diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-04-20 20:55:02 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-04-20 20:55:02 +0000 |
commit | 8fbaf2abf7aba067c00788b3a45dd31097a80fdb (patch) | |
tree | ccfc76e8a38731a075d4023d823893e72cd327c2 /sys/arch | |
parent | 9f3597d4ac1cbc1822fc4a4bb85df3ff51499c6e (diff) |
Allow kern_clock.c to see interrupt frames on i386
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/include/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h index 184c772b601..02ab0b02ca9 100644 --- a/sys/arch/i386/include/cpu.h +++ b/sys/arch/i386/include/cpu.h @@ -67,7 +67,7 @@ #define CLKF_USERMODE(frame) USERMODE((frame)->if_cs, (frame)->if_eflags) #define CLKF_BASEPRI(frame) ((frame)->if_ppl == 0) #define CLKF_PC(frame) ((frame)->if_eip) -#define CLKF_INTR(frame) (0) /* XXX should have an interrupt stack */ +#define CLKF_INTR(frame) (IDXSEL((frame)->if_cs) == GICODE_SEL) /* * Preempt the current process if in interrupt from user mode, |