summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/i8259.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@suse.cz>2008-05-21 11:57:52 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-24 16:44:26 +0200
commit680afbf989d697b9ba1382017a73c8cfa53b3f89 (patch)
tree2035eb46ce5091fdca2ee379ee706f8fc71d91ec /arch/x86/kernel/i8259.c
parent3e8631d27088f394b6788829e238a60bf07d47ab (diff)
downloadtalos-op-linux-680afbf989d697b9ba1382017a73c8cfa53b3f89.tar.gz
talos-op-linux-680afbf989d697b9ba1382017a73c8cfa53b3f89.zip
x86: i8259: cleanup codingstyle
Signed-off-by: Pavel Machek <pavel@suse.cz> Cc: macro@ds2.pg.gda.pl Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/i8259.c')
-rw-r--r--arch/x86/kernel/i8259.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/i8259.c b/arch/x86/kernel/i8259.c
index 433e49edfd4f..7a0fda8f01b5 100644
--- a/arch/x86/kernel/i8259.c
+++ b/arch/x86/kernel/i8259.c
@@ -129,14 +129,14 @@ static inline int i8259A_irq_real(unsigned int irq)
int irqmask = 1<<irq;
if (irq < 8) {
- outb(0x0B,PIC_MASTER_CMD); /* ISR register */
+ outb(0x0B, PIC_MASTER_CMD); /* ISR register */
value = inb(PIC_MASTER_CMD) & irqmask;
- outb(0x0A,PIC_MASTER_CMD); /* back to the IRR register */
+ outb(0x0A, PIC_MASTER_CMD); /* back to the IRR register */
return value;
}
- outb(0x0B,PIC_SLAVE_CMD); /* ISR register */
+ outb(0x0B, PIC_SLAVE_CMD); /* ISR register */
value = inb(PIC_SLAVE_CMD) & (irqmask >> 8);
- outb(0x0A,PIC_SLAVE_CMD); /* back to the IRR register */
+ outb(0x0A, PIC_SLAVE_CMD); /* back to the IRR register */
return value;
}
OpenPOWER on IntegriCloud