Merge tag 'samsung-soc-4.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk...
[cascardo/linux.git] / arch / arm / mach-pxa / pxa27x.c
index 8dfd175..2eaa341 100644 (file)
@@ -132,7 +132,8 @@ void pxa27x_cpu_pm_enter(suspend_state_t state)
 #ifndef CONFIG_IWMMXT
        u64 acc0;
 
-       asm volatile("mra %Q0, %R0, acc0" : "=r" (acc0));
+       asm volatile(".arch_extension xscale\n\t"
+                    "mra %Q0, %R0, acc0" : "=r" (acc0));
 #endif
 
        /* ensure voltage-change sequencer not initiated, which hangs */
@@ -151,7 +152,8 @@ void pxa27x_cpu_pm_enter(suspend_state_t state)
        case PM_SUSPEND_MEM:
                cpu_suspend(pwrmode, pxa27x_finish_suspend);
 #ifndef CONFIG_IWMMXT
-               asm volatile("mar acc0, %Q0, %R0" : "=r" (acc0));
+               asm volatile(".arch_extension xscale\n\t"
+                            "mar acc0, %Q0, %R0" : "=r" (acc0));
 #endif
                break;
        }
@@ -309,7 +311,7 @@ static int __init pxa27x_init(void)
                if (!of_have_populated_dt()) {
                        pxa_register_device(&pxa27x_device_gpio,
                                            &pxa27x_gpio_info);
-                       pxa2xx_set_dmac_info(32);
+                       pxa2xx_set_dmac_info(32, 75);
                        ret = platform_add_devices(devices,
                                                   ARRAY_SIZE(devices));
                }