patch-2.4.22 linux-2.4.22/include/asm-ppc/page.h

Next file: linux-2.4.22/include/asm-ppc/pc_serial.h
Previous file: linux-2.4.22/include/asm-ppc/open_pic.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/asm-ppc/page.h linux-2.4.22/include/asm-ppc/page.h
@@ -96,27 +96,27 @@
 #if defined(CONFIG_APUS) && !defined(MODULE)
 /* map phys->virtual and virtual->phys for RAM pages */
 static inline unsigned long ___pa(unsigned long v)
-{ 
+{
 	unsigned long p;
-	asm volatile ("1: addis %0, %1, %2;" 
+	asm volatile ("1: addis %0, %1, %2;"
 		      ".section \".vtop_fixup\",\"aw\";"
 		      ".align  1;"
 		      ".long   1b;"
 		      ".previous;"
-		      : "=r" (p) 
+		      : "=r" (p)
 		      : "b" (v), "K" (((-PAGE_OFFSET) >> 16) & 0xffff));
 
 	return p;
 }
 static inline void* ___va(unsigned long p)
-{ 
+{
 	unsigned long v;
-	asm volatile ("1: addis %0, %1, %2;" 
+	asm volatile ("1: addis %0, %1, %2;"
 		      ".section \".ptov_fixup\",\"aw\";"
 		      ".align  1;"
 		      ".long   1b;"
 		      ".previous;"
-		      : "=r" (v) 
+		      : "=r" (v)
 		      : "b" (p), "K" (((PAGE_OFFSET) >> 16) & 0xffff));
 
 	return (void*) v;

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