]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/kernel/swsusp_32.S
dock: make dock driver not a module
[linux-2.6-omap-h63xx.git] / arch / powerpc / kernel / swsusp_32.S
index 69e8f86aa4f843a2f248c9e7888a6f5283b64ad8..77fc76607ab2080d41667f3171fcdef9ee44dfd1 100644 (file)
@@ -133,10 +133,12 @@ _GLOBAL(swsusp_arch_suspend)
 /* Resume code */
 _GLOBAL(swsusp_arch_resume)
 
+#ifdef CONFIG_ALTIVEC
        /* Stop pending alitvec streams and memory accesses */
 BEGIN_FTR_SECTION
        DSSALL
 END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC)
+#endif
        sync
 
        /* Disable MSR:DR to make sure we don't take a TLB or