patch-2.1.132 linux/arch/ppc/kernel/apus_setup.c

Next file: linux/arch/ppc/kernel/head.S
Previous file: linux/arch/ppc/kernel/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.131/linux/arch/ppc/kernel/apus_setup.c linux/arch/ppc/kernel/apus_setup.c
@@ -329,9 +329,9 @@
 		int i;
 
 		for (i = 0; i < kmap_chunk_count;){
-			unsigned long virt = kmap_chunks[i++];
-			unsigned long size = kmap_chunks[i++];
 			unsigned long phys = kmap_chunks[i++];
+			unsigned long size = kmap_chunks[i++];
+			unsigned long virt = kmap_chunks[i++];
 			if (paddr >= phys
 			    && paddr < (phys + size)){
 				ret = virt + paddr - phys;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov