Since some people disapprove of white space cleanups mixed in regular commits
while others dislike them being extra commits, let's clean them up once and
for all for the existing code. If it's ugly, let it only be ugly once :-)

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5507 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/src/devices/oprom/x86.c b/src/devices/oprom/x86.c
index 9e72a4a..4d9604a 100644
--- a/src/devices/oprom/x86.c
+++ b/src/devices/oprom/x86.c
@@ -45,16 +45,16 @@
 
 static int intXX_exception_handler(struct eregs *regs)
 {
-	printk(BIOS_INFO, "Oops, exception %d while executing option rom\n", 
+	printk(BIOS_INFO, "Oops, exception %d while executing option rom\n",
 			regs->vector);
-	x86_exception(regs);	// Call coreboot exception handler 
+	x86_exception(regs);	// Call coreboot exception handler
 
 	return 0;		// Never returns?
 }
 
 static int intXX_unknown_handler(struct eregs *regs)
 {
-	printk(BIOS_INFO, "Unsupported software interrupt #0x%x\n", 
+	printk(BIOS_INFO, "Unsupported software interrupt #0x%x\n",
 			regs->vector);
 
 	return -1;
@@ -74,12 +74,12 @@
 {
 	int i;
 
-	/* The first 16 intXX functions are not BIOS services, 
+	/* The first 16 intXX functions are not BIOS services,
 	 * but the CPU-generated exceptions ("hardware interrupts")
 	 */
 	for (i = 0; i < 0x10; i++)
 		intXX_handler[i] = &intXX_exception_handler;
-	
+
 	/* Mark all other intXX calls as unknown first */
 	for (i = 0x10; i < 0x100; i++)
 	{
@@ -133,14 +133,14 @@
 	}
 
 	/* Many option ROMs use the hard coded interrupt entry points in the
-	 * system bios. So install them at the known locations. 
+	 * system bios. So install them at the known locations.
 	 */
-	
+
 	/* int42 is the relocated int10 */
 	write_idt_stub((void *)0xff065, 0x42);
 
 	/* VIA's VBIOS calls f000:f859 instead of int15 */
-	write_idt_stub((void *)0xff859, 0x15); 
+	write_idt_stub((void *)0xff859, 0x15);
 }
 
 void run_bios(struct device *dev, unsigned long addr)
@@ -187,7 +187,7 @@
 		"outl	%%eax, %%dx\n"
 		"addb	$2, %%dl\n"
 		"inw	%%dx, %%ax\n"
-		: "=a" (eax), "=b"(ebx), "=c"(ecx), "=d"(edx) 
+		: "=a" (eax), "=b"(ebx), "=c"(ecx), "=d"(edx)
 		: "a"(classIndex)
 	);
 
@@ -245,7 +245,7 @@
 }
 #endif
 
-/* interrupt_handler() is called from assembler code only, 
+/* interrupt_handler() is called from assembler code only,
  * so there is no use in putting the prototype into a header file.
  */
 int __attribute__((regparm(0))) interrupt_handler(u32 intnumber,
@@ -308,7 +308,7 @@
 	// will later pop them.
 	// What happens here is that we force (volatile!) changing
 	// the values of the parameters of this function. We do this
-	// because we know that they stay alive on the stack after 
+	// because we know that they stay alive on the stack after
 	// we leave this function. Don't say this is bollocks.
 	*(volatile u32 *)&eax = reg_info.eax;
 	*(volatile u32 *)&ecx = reg_info.ecx;