diff options
author | peter <peter@FreeBSD.org> | 1997-09-08 06:40:58 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-09-08 06:40:58 +0000 |
commit | 9a9d679136b336c78faf890ba54ca9081966e345 (patch) | |
tree | a1c563f394db4777fe434f98029459220be24557 /sys/i386/isa/icu_vector.s | |
parent | 12f8b6b6e0318714616ab4dfe8b4d89cb2ed67db (diff) | |
download | FreeBSD-src-9a9d679136b336c78faf890ba54ca9081966e345.zip FreeBSD-src-9a9d679136b336c78faf890ba54ca9081966e345.tar.gz |
Change an assemble-time divide into a shift. Under binutils-2.8 gas in elf
mode, the slash is a comment leader, while under non-elf it is a divide
symbol (what a concept! :-). Theoretically, #APP/#NO_APP can change this
but that doesn't seem to mesh too well with macros and line continuation.
Diffstat (limited to 'sys/i386/isa/icu_vector.s')
-rw-r--r-- | sys/i386/isa/icu_vector.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/icu_vector.s b/sys/i386/isa/icu_vector.s index 9722f6b..ee3e079 100644 --- a/sys/i386/isa/icu_vector.s +++ b/sys/i386/isa/icu_vector.s @@ -1,6 +1,6 @@ /* * from: vector.s, 386BSD 0.1 unknown origin - * $Id: icu_vector.s,v 1.2 1997/05/31 08:59:51 peter Exp $ + * $Id: icu_vector.s,v 1.3 1997/07/24 03:24:57 fsmp Exp $ */ /* @@ -16,7 +16,7 @@ #define ICU_EOI 0x20 /* XXX - define elsewhere */ #define IRQ_BIT(irq_num) (1 << ((irq_num) % 8)) -#define IRQ_BYTE(irq_num) ((irq_num) / 8) +#define IRQ_BYTE(irq_num) ((irq_num) >> 3) #ifdef AUTO_EOI_1 #define ENABLE_ICU1 /* use auto-EOI to reduce i/o */ |