patch-2.3.33 linux/kernel/resource.c
Next file: linux/mm/mremap.c
Previous file: linux/kernel/panic.c
Back to the patch index
Back to the overall index
-  Lines: 9
 -  Date:
Tue Dec 14 11:16:22 1999
 -  Orig file: 
v2.3.32/linux/kernel/resource.c
 -  Orig date: 
Tue Dec  7 09:32:52 1999
 
diff -u --recursive --new-file v2.3.32/linux/kernel/resource.c linux/kernel/resource.c
@@ -55,7 +55,7 @@
 	int retval;
 
 	fmt = "        %08lx-%08lx : %s\n";
-	if (root == &ioport_resource)
+	if (root->end < 0x10000)
 		fmt = "        %04lx-%04lx : %s\n";
 	read_lock(&resource_lock);
 	retval = do_resource_list(root->child, fmt, 8, buf, buf + size) - buf;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)