Pull video into test branch
[linux-drm-fsl-dcu.git] / arch / arm / mach-pxa / pm.c
index 2112c414f0e212588742c1be02c2a312772856a8..b4d8276d6050b1e34d16c06153228f03c0b113a3 100644 (file)
@@ -83,7 +83,8 @@ int pxa_pm_enter(suspend_state_t state)
 
 #ifdef CONFIG_IWMMXT
        /* force any iWMMXt context to ram **/
-       iwmmxt_task_disable(NULL);
+       if (elf_hwcap & HWCAP_IWMMXT)
+               iwmmxt_task_disable(NULL);
 #endif
 
        /* preserve current time */