diff options
author | Richard Woodruff <r-woodruff2@ti.com> | 2010-04-07 07:47:21 +0000 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-04-23 15:35:11 -0700 |
commit | df571c4ab32da9bc05a7db98516fc06ef3cdc5d1 (patch) | |
tree | 2450924524b5453510e464ad7559d7f2865bd1d4 /arch/arm/mach-omap2/omap44xx-smc.S | |
parent | 519e61666f4030426fc539d4e7102dc2bad41113 (diff) | |
download | linux-df571c4ab32da9bc05a7db98516fc06ef3cdc5d1.tar.gz linux-df571c4ab32da9bc05a7db98516fc06ef3cdc5d1.tar.bz2 linux-df571c4ab32da9bc05a7db98516fc06ef3cdc5d1.zip |
omap4: Fix build break when used with gcc-4.4.1 (2009-q3)
This patch adds argument to smc calls as gcc-4.4.1 requires it
otherwise the build breaks with 2009-q3 toolchanin.
arch/arm/mach-omap2/omap-headsmp.S: Assembler messages:
arch/arm/mach-omap2/omap-headsmp.S:36: Error: missing expression -- `smc'
arch/arm/mach-omap2/omap-headsmp.S:55: Error: missing expression -- `smc'
arch/arm/mach-omap2/omap-headsmp.S:63: Error: missing expression -- `smc'
make[1]: *** [arch/arm/mach-omap2/omap-headsmp.o] Error 1
Signed-off-by: Richard Woodruff <r-woodruff2@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap44xx-smc.S')
-rw-r--r-- | arch/arm/mach-omap2/omap44xx-smc.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap44xx-smc.S b/arch/arm/mach-omap2/omap44xx-smc.S index 89bb2b141473..f61c7771ca47 100644 --- a/arch/arm/mach-omap2/omap44xx-smc.S +++ b/arch/arm/mach-omap2/omap44xx-smc.S @@ -27,6 +27,6 @@ ENTRY(omap_smc1) mov r12, r0 mov r0, r1 dsb - smc + smc #0 ldmfd sp!, {r2-r12, pc} END(omap_smc1) |