diff options
Diffstat (limited to 'arch/powerpc/kernel/entry_32.S')
-rw-r--r-- | arch/powerpc/kernel/entry_32.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/entry_32.S b/arch/powerpc/kernel/entry_32.S index 1175a8539e6c..ed4aeb96398b 100644 --- a/arch/powerpc/kernel/entry_32.S +++ b/arch/powerpc/kernel/entry_32.S | |||
@@ -373,11 +373,13 @@ syscall_exit_cont: | |||
373 | bnel- load_dbcr0 | 373 | bnel- load_dbcr0 |
374 | #endif | 374 | #endif |
375 | #ifdef CONFIG_44x | 375 | #ifdef CONFIG_44x |
376 | BEGIN_MMU_FTR_SECTION | ||
376 | lis r4,icache_44x_need_flush@ha | 377 | lis r4,icache_44x_need_flush@ha |
377 | lwz r5,icache_44x_need_flush@l(r4) | 378 | lwz r5,icache_44x_need_flush@l(r4) |
378 | cmplwi cr0,r5,0 | 379 | cmplwi cr0,r5,0 |
379 | bne- 2f | 380 | bne- 2f |
380 | 1: | 381 | 1: |
382 | END_MMU_FTR_SECTION_IFCLR(MMU_FTR_TYPE_47x) | ||
381 | #endif /* CONFIG_44x */ | 383 | #endif /* CONFIG_44x */ |
382 | BEGIN_FTR_SECTION | 384 | BEGIN_FTR_SECTION |
383 | lwarx r7,0,r1 | 385 | lwarx r7,0,r1 |
@@ -848,6 +850,9 @@ resume_kernel: | |||
848 | /* interrupts are hard-disabled at this point */ | 850 | /* interrupts are hard-disabled at this point */ |
849 | restore: | 851 | restore: |
850 | #ifdef CONFIG_44x | 852 | #ifdef CONFIG_44x |
853 | BEGIN_MMU_FTR_SECTION | ||
854 | b 1f | ||
855 | END_MMU_FTR_SECTION_IFSET(MMU_FTR_TYPE_47x) | ||
851 | lis r4,icache_44x_need_flush@ha | 856 | lis r4,icache_44x_need_flush@ha |
852 | lwz r5,icache_44x_need_flush@l(r4) | 857 | lwz r5,icache_44x_need_flush@l(r4) |
853 | cmplwi cr0,r5,0 | 858 | cmplwi cr0,r5,0 |