[parisc-linux-cvs] linux rbrad
rbrad@puffin.external.hp.com
rbrad@puffin.external.hp.com
Sat, 17 Feb 2001 23:03:24 -0700
CVSROOT: /home/cvs/parisc
Module name: linux
Changes by: rbrad 01/02/17 23:03:24
Modified files:
arch/parisc/kernel: setup.c
Log message:
This patch moves the do_inventory call from the start_parisc function
into the setup_arch function so I can use boot memory for the I/O
tree I am working on.
diff -u -p -r1.73 setup.c
--- setup.c 2001/02/13 15:41:17 1.73
+++ setup.c 2001/02/18 06:01:39
@@ -461,7 +461,6 @@ void __init start_parisc(unsigned arg0,
led_init(); /* LCD/LED initialization */
#endif
- do_inventory(); /* probe for hardware */
register_driver(cpu_drivers_for); /* claim all the CPUs */
if (boot_cpu_data.cpu_count == 0)
@@ -524,6 +523,8 @@ void __init setup_arch(char **cmdline_p)
max_pfn = PFN_DOWN(mem_max);
bootmap_size = init_bootmem(start_pfn, max_pfn);
+
+ do_inventory(); /* probe for hardware */
mem_start += bootmap_size;
mem_free = mem_max - mem_start;