|
@@ -25,7 +25,12 @@
|
|
#define is_sh73a0() (machine_is_ag5evm() || machine_is_kota2() || \
|
|
#define is_sh73a0() (machine_is_ag5evm() || machine_is_kota2() || \
|
|
of_machine_is_compatible("renesas,sh73a0"))
|
|
of_machine_is_compatible("renesas,sh73a0"))
|
|
#define is_r8a7779() machine_is_marzen()
|
|
#define is_r8a7779() machine_is_marzen()
|
|
|
|
+
|
|
|
|
+#ifdef CONFIG_ARCH_EMEV2
|
|
#define is_emev2() of_machine_is_compatible("renesas,emev2")
|
|
#define is_emev2() of_machine_is_compatible("renesas,emev2")
|
|
|
|
+#else
|
|
|
|
+#define is_emev2() (0)
|
|
|
|
+#endif
|
|
|
|
|
|
static unsigned int __init shmobile_smp_get_core_count(void)
|
|
static unsigned int __init shmobile_smp_get_core_count(void)
|
|
{
|
|
{
|