From a650c606fecc7e3938345e2bc52050a9ea725e7a Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 6 Sep 2006 17:04:06 +0000 Subject: spacing fixes: no tabs, 2-space indents (for rtm) --- ioapic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ioapic.c') diff --git a/ioapic.c b/ioapic.c index c96c4f7..4aa8df8 100644 --- a/ioapic.c +++ b/ioapic.c @@ -11,8 +11,8 @@ struct ioapic { }; -#define IOAPIC_REDTBL_LO(i) (IOAPIC_REDTBL + (i) * 2) -#define IOAPIC_REDTBL_HI(i) (IOAPIC_REDTBL_LO(i) + 1) +#define IOAPIC_REDTBL_LO(i) (IOAPIC_REDTBL + (i) * 2) +#define IOAPIC_REDTBL_HI(i) (IOAPIC_REDTBL_LO(i) + 1) static uint ioapic_read(struct ioapic *io, int reg) @@ -40,7 +40,7 @@ ioapic_init(void) io = (struct ioapic *) IO_APIC_BASE; l = ioapic_read(io, IOAPIC_VER); nintr = ((l & IOART_VER_MAXREDIR) >> MAXREDIRSHIFT) + 1; - id = ioapic_read(io, IOAPIC_ID) >> APIC_ID_SHIFT; + id = ioapic_read(io, IOAPIC_ID) >> APIC_ID_SHIFT; if (id != ioapic_id) panic ("ioapic_init: id isn't equal to ioapic_id\n"); for (i = 0; i < nintr; i++) { -- cgit v1.2.3