Re: [PATCH] ARM: at91: fix pm_suspend.S compilation when ARMv6 is selected

2015-03-20 Thread Nicolas Ferre
Le 19/03/2015 21:14, Alexandre Belloni a écrit : > When compiling for multiplatform for both ARMv6 and ARMv7, the default > compiler > flags are for ARMv6, and results in: > > arch/arm/mach-at91/pm_suspend.S:144: Error: selected processor does not > support ARM mode `dsb' > > Enforce ARMv7 flag

[PATCH] ARM: at91: fix pm_suspend.S compilation when ARMv6 is selected

2015-03-19 Thread Alexandre Belloni
When compiling for multiplatform for both ARMv6 and ARMv7, the default compiler flags are for ARMv6, and results in: arch/arm/mach-at91/pm_suspend.S:144: Error: selected processor does not support ARM mode `dsb' Enforce ARMv7 flags for pm_suspend.o when CPU_V7 is selected. Reported-by: fengguan