summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorArnd Bergmann2012-05-15 22:02:32 +0200
committerArnd Bergmann2012-05-16 22:17:08 +0200
commit0e6ce5f168e3b600b88d7e1a08c5b85cbceec6cb (patch)
treea9fb7bac610ec47083ef125d5d8694d2419dd7e9 /arch/arm/mach-shmobile
parentMerge branch 'kirkwood_boards_for_v3.5' of git://git.infradead.org/users/jcoo... (diff)
parentARM: shmobile: fix smp build (diff)
downloadkernel-qcow2-linux-0e6ce5f168e3b600b88d7e1a08c5b85cbceec6cb.tar.gz
kernel-qcow2-linux-0e6ce5f168e3b600b88d7e1a08c5b85cbceec6cb.tar.xz
kernel-qcow2-linux-0e6ce5f168e3b600b88d7e1a08c5b85cbceec6cb.zip
Merge branch 'renesas/board2' into next/boards
* renesas/board2: ARM: shmobile: fix smp build Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/platsmp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/platsmp.c b/arch/arm/mach-shmobile/platsmp.c
index d959f07d1ef0..5a2b69cf5ba6 100644
--- a/arch/arm/mach-shmobile/platsmp.c
+++ b/arch/arm/mach-shmobile/platsmp.c
@@ -16,11 +16,13 @@
#include <linux/device.h>
#include <linux/smp.h>
#include <linux/io.h>
+#include <linux/of.h>
#include <asm/hardware/gic.h>
#include <asm/mach-types.h>
#include <mach/common.h>
-#define is_sh73a0() (machine_is_ag5evm() || machine_is_kota2() || machine_is_kzm9g())
+#define is_sh73a0() (machine_is_ag5evm() || machine_is_kota2() || \
+ of_machine_is_compatible("renesas,sh73a0"))
#define is_r8a7779() machine_is_marzen()
static unsigned int __init shmobile_smp_get_core_count(void)