[PATCH] ARM: tegra: Include assembler.h in sleep.S to fix build break

Stephen Warren swarren at wwwdotorg.org
Mon Mar 19 12:56:32 EDT 2012


On 03/19/2012 10:54 AM, Rob Herring wrote:
> On 03/19/2012 11:50 AM, Stephen Warren wrote:
>> Commit 6f6f6a7 "ARM: create a common IOMEM definition" moved macro
>> IOMEM(), and requires users to include <asm/assembler.h>. Fix Tegra's
>> sleep.S to do so.
>>
>> Signed-off-by: Stephen Warren <swarren at wwwdotorg.org>
>> ---
>>  arch/arm/mach-tegra/sleep.S |    3 +++
>>  1 files changed, 3 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/mach-tegra/sleep.S b/arch/arm/mach-tegra/sleep.S
...
>> +#include <asm/assembler.h>
>> +
> 
> Is there some reason you put this before linux/ include?

No. I just misremembered which order linux/ and asm/ should go in. Do
you want me to repost?

>>  #include <linux/linkage.h>
>> +
>>  #include <mach/io.h>
>>  #include <mach/iomap.h>



More information about the linux-arm-kernel mailing list