patch-2.4.22 linux-2.4.22/arch/mips/vr41xx/zao-capcella/init.c
Next file: linux-2.4.22/arch/mips/vr41xx/zao-capcella/setup.c
Previous file: linux-2.4.22/arch/mips/vr41xx/zao-capcella/Makefile
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/arch/mips/vr41xx/zao-capcella/init.c
- Orig date:
2002-11-28 15:53:10.000000000 -0800
diff -urN linux-2.4.21/arch/mips/vr41xx/zao-capcella/init.c linux-2.4.22/arch/mips/vr41xx/zao-capcella/init.c
@@ -30,10 +30,6 @@
return "ZAO Networks Capcella";
}
-void __init bus_error_init(void)
-{
-}
-
void __init prom_init(int argc, char **argv, unsigned long magic, int *prom_vec)
{
u32 config;
@@ -51,12 +47,12 @@
mips_machgroup = MACH_GROUP_NEC_VR41XX;
mips_machtype = MACH_ZAO_CAPCELLA;
- switch (mips_cpu.processor_id) {
+ switch (current_cpu_data.processor_id) {
case PRID_VR4131_REV1_2:
- config = read_32bit_cp0_register(CP0_CONFIG);
+ config = read_c0_config();
config &= ~0x00000030UL;
config |= 0x00410000UL;
- write_32bit_cp0_register(CP0_CONFIG, config);
+ write_c0_config(config);
break;
default:
break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)