Skip to content

Commit

Permalink
ARM: spear: build hotplug.o for armv7-a
Browse files Browse the repository at this point in the history
The hotplug.c file uses assembly instructions that are only available
on ARMv7 but not on ARMv6. This is ok because we know that code will
only run on arm ARMv7 SPEARr13xx, but it produces build errors when
we also enable one of the ARMv6 targets in a multiplatform configuration.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Arnd Bergmann committed Mar 19, 2013
1 parent ae55afc commit cde35bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-spear/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ obj-$(CONFIG_MACH_SPEAR320) += spear320.o

obj-$(CONFIG_ARCH_SPEAR6XX) += spear6xx.o
obj-$(CONFIG_ARCH_SPEAR6XX) += pl080.o

CFLAGS_hotplug.o += -march=armv7-a

0 comments on commit cde35bd

Please sign in to comment.