diff options
author | Chanho Park <chanho61.park@samsung.com> | 2012-12-12 00:03:54 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-04-08 12:47:45 -0400 |
commit | b7bbdbeebd94d63728d6caf12f2c4a670c5f3105 (patch) | |
tree | 0375888c8af59f71e71bcfd007c2482735e8b022 /arch/arm/plat-samsung/devs.c | |
parent | 4e164dc5fa512ad66355b583f1f70c602e4717d6 (diff) |
ARM: EXYNOS: Enable PMUs for exynos4
This patch defines irq numbers of ARM performance monitoring unit for exynos4.
Firs of all, we need to fix IRQ_PMU correctly and to split pmu initialization
of exynos from plat-samsung for easily defining it.
The number of CPU cores and PMU irq numbers are vary according to soc types.
So, we need to identify each soc type using soc_is_xxx function and to define
the pmu irqs dynamically. For example, the exynos4412 has 4 cpu cores and pmus.
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/devs.c')
-rw-r--r-- | arch/arm/plat-samsung/devs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c index 51afedda9ab6..e1124d9fd2b0 100644 --- a/arch/arm/plat-samsung/devs.c +++ b/arch/arm/plat-samsung/devs.c | |||
@@ -1113,7 +1113,7 @@ struct platform_device s5p_device_onenand = { | |||
1113 | 1113 | ||
1114 | /* PMU */ | 1114 | /* PMU */ |
1115 | 1115 | ||
1116 | #ifdef CONFIG_PLAT_S5P | 1116 | #if defined(CONFIG_PLAT_S5P) && !defined(CONFIG_ARCH_EXYNOS) |
1117 | static struct resource s5p_pmu_resource[] = { | 1117 | static struct resource s5p_pmu_resource[] = { |
1118 | DEFINE_RES_IRQ(IRQ_PMU) | 1118 | DEFINE_RES_IRQ(IRQ_PMU) |
1119 | }; | 1119 | }; |