patch-2.4.22 linux-2.4.22/arch/ppc/boot/common/misc-common.c

Next file: linux-2.4.22/arch/ppc/boot/common/misc-simple.c
Previous file: linux-2.4.22/arch/ppc/boot/common/crt0.S
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/ppc/boot/common/misc-common.c linux-2.4.22/arch/ppc/boot/common/misc-common.c
@@ -1,6 +1,6 @@
 /*
  * arch/ppc/boot/common/misc-common.c
- * 
+ *
  * Misc. bootloader code (almost) all platforms can use
  *
  * Author: Johnnie Peters <jpeters@mvista.com>
@@ -74,7 +74,7 @@
 void exit(void)
 {
 	puts("exit\n");
-	while(1); 
+	while(1);
 }
 
 int tstc(void)
@@ -102,7 +102,7 @@
 	}
 }
 
-void 
+void
 putc(const char c)
 {
 	int x,y;
@@ -129,7 +129,7 @@
 			x--;
 		}
 	} else {
-		vidmem [ ( x + cols * y ) * 2 ] = c; 
+		vidmem [ ( x + cols * y ) * 2 ] = c;
 		if ( ++x >= cols ) {
 			x = 0;
 			if ( ++y >= lines ) {
@@ -170,7 +170,7 @@
 		    x--;
 		  }
 		} else {
-			vidmem [ ( x + cols * y ) * 2 ] = c; 
+			vidmem [ ( x + cols * y ) * 2 ] = c;
 			if ( ++x >= cols ) {
 				x = 0;
 				if ( ++y >= lines ) {
@@ -199,7 +199,7 @@
 void *zalloc(void *x, unsigned items, unsigned size)
 {
 	void *p = avail_ram;
-	
+
 	size *= items;
 	size = (size + 7) & -8;
 	avail_ram += size;
@@ -226,7 +226,7 @@
 {
 	z_stream s;
 	int r, i, flags;
-	
+
 	/* skip header */
 	i = 10;
 	flags = src[3];
@@ -248,7 +248,7 @@
 		puts("gunzip: ran out of data in header\n");
 		exit();
 	}
-	
+
 	s.zalloc = zalloc;
 	s.zfree = zfree;
 	r = inflateInit2(&s, -MAX_WBITS);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)