rk3188: arm-pmu: support qual core
author黄涛 <huangtao@rock-chips.com>
Thu, 21 Mar 2013 10:17:43 +0000 (18:17 +0800)
committer黄涛 <huangtao@rock-chips.com>
Thu, 21 Mar 2013 10:18:03 +0000 (18:18 +0800)
arch/arm/mach-rk30/devices.c

index f751bb1308354158097ec5429b93cce7603e63a4..32ddb4b9f1a435917338ecd5d2b5bd2430bf239f 100755 (executable)
@@ -1173,6 +1173,18 @@ static struct resource resource_arm_pmu[] = {
                .end    = IRQ_ARM_PMU + 1,
                .flags  = IORESOURCE_IRQ,
        },
+#if defined(CONFIG_ARCH_RK3188)
+       {
+               .start  = IRQ_ARM_PMU + 2,
+               .end    = IRQ_ARM_PMU + 2,
+               .flags  = IORESOURCE_IRQ,
+       },
+       {
+               .start  = IRQ_ARM_PMU + 3,
+               .end    = IRQ_ARM_PMU + 3,
+               .flags  = IORESOURCE_IRQ,
+       },
+#endif
 };
 
 struct platform_device device_arm_pmu = {