Skip to content

Commit

Permalink
ARM: socfpga: fix build break for allyesconfig
Browse files Browse the repository at this point in the history
Building a multiplatform kernel with combined armv7 and armv6
kernel does not work with the socfpga smp code, which contains
v7-only instructions. Since this code never runs on armv6,
we can annotate the assmebly with .arch   armv7-a, as suggested
by Russell King.

[arnd: reword commit message]

Signed-off-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Pavel Machek authored and Arnd Bergmann committed Oct 27, 2012
1 parent 8691c0d commit ad208d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-socfpga/headsmp.S
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <linux/init.h>

__INIT
.arch armv7-a

#define CPU1_START_ADDR 0xffd08010

Expand Down

0 comments on commit ad208d0

Please sign in to comment.