Skip to content

Commit

Permalink
ARM: tegra: Include assembler.h in sleep.S to fix build break
Browse files Browse the repository at this point in the history
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. This fixes:

arch/arm/mach-tegra/sleep.S: Assembler messages:
arch/arm/mach-tegra/sleep.S:77: Error: missing ')'
arch/arm/mach-tegra/sleep.S:77: Error: garbage following instruction
    -- `movw r0,#:lower16:(0x60007000-0x60000000+IOMEM(0xFE200000))'

Note: This only shows up after 0a25893 "ARM: tegra: update defconfig"

Signed-off-by: Stephen Warren <[email protected]>
  • Loading branch information
swarren committed Mar 26, 2012
1 parent 1ad105f commit 7175f80
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/arm/mach-tegra/sleep.S
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
*/

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

#include <asm/assembler.h>

#include <mach/iomap.h>

#include "flowctrl.h"
Expand Down

0 comments on commit 7175f80

Please sign in to comment.