* Generic wrapper for command line arguments to disable on-chip
* peripherals (nofpu, nodsp, and so forth).
*/
-#define onchip_setup(x) \
-static int x##_disabled __initdata = 0; \
+#define onchip_setup(x) \
+static int x##_disabled __initdata = 0; \
\
static int __init x##_setup(char *opts) \
{ \
} while (--ways);
}
- /*
+ /*
* Default CCR values .. enable the caches
* and invalidate them immediately..
*/
}
#endif /* CONFIG_SH_DSP */
-/*
+/**
* sh_cpu_init
*
* This is our initial entry point for each CPU, and is invoked on the boot
/* FPU initialization */
if ((cpu_data->flags & CPU_HAS_FPU)) {
clear_thread_flag(TIF_USEDFPU);
- current->used_math = 0;
+ clear_used_math();
}
#ifdef CONFIG_SH_DSP
/* Probe for DSP */
dsp_init();
-
+
/* Disable the DSP */
if (dsp_disabled) {
printk("DSP Disabled\n");