Fix common misspellings
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / mips / mm / cex-sb1.S
index 0e71580774fff3673401f7b73e371af5dd123721..89c412bc4b640ee3ce7418d80a6f559be5e9f53e 100644 (file)
@@ -34,8 +34,6 @@
         * is changed.
         */
 
-        __INIT
-
        .set    mips64
        .set    noreorder
        .set    noat
@@ -51,6 +49,8 @@
         * (0x170-0x17f) are used to preserve k0, k1, and ra.
         */
 
+       __CPUINIT
+
 LEAF(except_vec2_sb1)
        /*
         * If this error is recoverable, we need to exit the handler
@@ -64,7 +64,7 @@ LEAF(except_vec2_sb1)
        sd      k0,0x170($0)
        sd      k1,0x178($0)
 
-#if CONFIG_SB1_CEX_ALWAYS_FATAL
+#ifdef CONFIG_SB1_CEX_ALWAYS_FATAL
        j       handle_vec2_sb1
         nop
 #else
@@ -79,7 +79,7 @@ LEAF(except_vec2_sb1)
 recovered_dcache:
        /*
         * Unlock CacheErr-D (which in turn unlocks CacheErr-DPA).
-        * Ought to log the occurence of this recovered dcache error.
+        * Ought to log the occurrence of this recovered dcache error.
         */
        b       recovered
         mtc0   $0,C0_CERR_D