vserver 1.9.5.x5
[linux-2.6.git] / arch / sh / kernel / cpu / init.c
index 975103f..cf94e8e 100644 (file)
@@ -24,8 +24,8 @@ extern void detect_cpu_and_cache_system(void);
  * 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)                \
 {                                              \
@@ -88,7 +88,7 @@ static void __init cache_init(void)
                } while (--ways);
        }
 
-       /* 
+       /*
         * Default CCR values .. enable the caches
         * and invalidate them immediately..
         */
@@ -160,7 +160,7 @@ static void __init dsp_init(void)
 }
 #endif /* CONFIG_SH_DSP */
 
-/*
+/**
  * sh_cpu_init
  *
  * This is our initial entry point for each CPU, and is invoked on the boot
@@ -194,13 +194,13 @@ asmlinkage void __init sh_cpu_init(void)
        /* 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");