diff -uNr linux-2.4.paul/arch/ppc/kernel/setup.c linux/arch/ppc/kernel/setup.c --- linux-2.4.paul/arch/ppc/kernel/setup.c Tue Aug 8 07:46:33 2000 +++ linux/arch/ppc/kernel/setup.c Sat Sep 2 11:26:13 2000 @@ -661,11 +661,13 @@ { unsigned long val = simple_strtoul(str, NULL, 0); printk(KERN_INFO "l2cr set to %lx\n", val); - _set_L2CR(0); - _set_L2CR(val); + _set_L2CR(0); /* force invalidate by disable cache */ + _set_L2CR(val); /* and enable it */ } } +__setup("l2cr=", ppc_setup_l2cr); + void __init ppc_init(void) { /* clear the progress line */