]> err.no Git - linux-2.6/blobdiff - arch/ppc/kernel/misc.S
[PATCH] kdump: Use real pt_regs from exception
[linux-2.6] / arch / ppc / kernel / misc.S
index 7329ef177a18c36c4f068d2a09dad48d34fce92e..b6a63a49a23226312126c8809545ee7200599c19 100644 (file)
@@ -593,6 +593,14 @@ _GLOBAL(flush_instruction_cache)
        iccci   0,r3
 #endif
 #elif CONFIG_FSL_BOOKE
+BEGIN_FTR_SECTION
+       mfspr   r3,SPRN_L1CSR0
+       ori     r3,r3,L1CSR0_CFI|L1CSR0_CLFC
+       /* msync; isync recommended here */
+       mtspr   SPRN_L1CSR0,r3
+       isync
+       blr
+END_FTR_SECTION_IFCLR(CPU_FTR_SPLIT_ID_CACHE)
        mfspr   r3,SPRN_L1CSR1
        ori     r3,r3,L1CSR1_ICFI|L1CSR1_ICLFR
        mtspr   SPRN_L1CSR1,r3
@@ -1436,7 +1444,7 @@ _GLOBAL(sys_call_table)
        .long sys_mq_timedreceive       /* 265 */
        .long sys_mq_notify
        .long sys_mq_getsetattr
-       .long sys_ni_syscall            /* 268 reserved for sys_kexec_load */
+       .long sys_kexec_load
        .long sys_add_key
        .long sys_request_key           /* 270 */
        .long sys_keyctl