patch-2.4.23 linux-2.4.23/arch/ppc/kernel/setup.c
Next file: linux-2.4.23/arch/ppc/kernel/signal.c
Previous file: linux-2.4.23/arch/ppc/kernel/prom_init.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
2003-11-28 10:26:19.000000000 -0800
- Orig file:
linux-2.4.22/arch/ppc/kernel/setup.c
- Orig date:
2003-08-25 04:44:40.000000000 -0700
diff -urN linux-2.4.22/arch/ppc/kernel/setup.c linux-2.4.23/arch/ppc/kernel/setup.c
@@ -152,12 +152,12 @@
return 0;
pvr = cpu_data[i].pvr;
lpj = cpu_data[i].loops_per_jiffy;
- seq_printf(m, "processor\t: %lu\n", i);
#else
pvr = mfspr(PVR);
lpj = loops_per_jiffy;
#endif
+ seq_printf(m, "processor\t: %lu\n", i);
seq_printf(m, "cpu\t\t: ");
if (cur_cpu_spec[i]->pvr_mask)
@@ -566,12 +566,10 @@
#if defined(CONFIG_KGDB)
kgdb_map_scc();
set_debug_traps();
- if (strstr(cmd_line, "nokgdb"))
- printk("kgdb default breakpoint deactivated on command line\n");
- else {
+ if (strstr(cmd_line, "gdb")) {
if (ppc_md.progress)
ppc_md.progress("setup_arch: kgdb breakpoint", 0x4000);
- printk("kgdb default breakpoint activated\n");
+ printk("kgdb breakpoint activated\n");
breakpoint();
}
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)