From: Kenn H. <ke...@us...> - 2001-03-04 23:44:17
|
Update of /cvsroot/linux-vax/kernel-2.4/arch/vax/boot In directory usw-pr-cvs1:/tmp/cvs-serv15118 Modified Files: tmp_init.c Log Message: Remove obsolete comment and fix compiler warnings Index: tmp_init.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/arch/vax/boot/tmp_init.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- tmp_init.c 2001/02/18 16:42:45 1.8 +++ tmp_init.c 2001/03/04 23:45:50 1.9 @@ -106,12 +106,6 @@ void vax_start_kernel(void) { - unsigned long mempages; -/* this is a temporary command line that allows booting via nfsroot */ -/* - * Interrupts are still disabled. Do necessary setups, then - * enable them - */ /* set the number of 4k pages */ max_pfn = max_hwpfn/8; @@ -143,7 +137,7 @@ printk("RPB info: l_pfncnt: %08x, .l_vmb_version: %08x .l_badpgs: %08x\n", boot_rpb.l_pfncnt, boot_rpb.l_vmb_version, boot_rpb.l_badpgs); - printk("Physical memory: %08x HW pagelets, %08x pages (%dKB)\n", + printk("Physical memory: %08x HW pagelets, %08lx pages (%dKB)\n", max_hwpfn, max_pfn, max_hwpfn/2); printk("CPU type: %s, SID: %08x\n", mv->cpu_type_str(), vax_cpu.sid); @@ -193,7 +187,7 @@ printk("RPB info: l_pfncnt: %08x, .l_vmb_version: %08x .l_badpgs: %08x\n", boot_rpb.l_pfncnt, boot_rpb.l_vmb_version, boot_rpb.l_badpgs); - printk("Physical memory: %08x HW pagelets, %08x pages (%dKB)\n", + printk("Physical memory: %08x HW pagelets, %08lx pages (%dKB)\n", max_hwpfn, max_pfn, max_hwpfn/2); setup_arch(&command_line); |