diff options
| -rw-r--r-- | arch/powerpc/kernel/swsusp_32.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/swsusp_32.S b/arch/powerpc/kernel/swsusp_32.S index 69e8f86aa4f8..77fc76607ab2 100644 --- a/arch/powerpc/kernel/swsusp_32.S +++ b/arch/powerpc/kernel/swsusp_32.S | |||
| @@ -133,10 +133,12 @@ _GLOBAL(swsusp_arch_suspend) | |||
| 133 | /* Resume code */ | 133 | /* Resume code */ |
| 134 | _GLOBAL(swsusp_arch_resume) | 134 | _GLOBAL(swsusp_arch_resume) |
| 135 | 135 | ||
| 136 | #ifdef CONFIG_ALTIVEC | ||
| 136 | /* Stop pending alitvec streams and memory accesses */ | 137 | /* Stop pending alitvec streams and memory accesses */ |
| 137 | BEGIN_FTR_SECTION | 138 | BEGIN_FTR_SECTION |
| 138 | DSSALL | 139 | DSSALL |
| 139 | END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC) | 140 | END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC) |
| 141 | #endif | ||
| 140 | sync | 142 | sync |
| 141 | 143 | ||
| 142 | /* Disable MSR:DR to make sure we don't take a TLB or | 144 | /* Disable MSR:DR to make sure we don't take a TLB or |
