Changeset 19317
- Timestamp:
- 06/02/12 01:03:17 (12 months ago)
- Location:
- src/linux/universal/linux-3.4/arch/arm/mach-cns3xxx
- Files:
-
- 2 edited
-
core.c (modified) (5 diffs)
-
include/mach/entry-macro.S (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/linux/universal/linux-3.4/arch/arm/mach-cns3xxx/core.c
r19285 r19317 24 24 #include "core.h" 25 25 26 27 26 28 static struct map_desc cns3xxx_io_desc[] __initdata = { 27 29 { … … 151 153 }; 152 154 155 153 156 static DEFINE_TWD_LOCAL_TIMER(twd_local_timer, 154 CNS3XXX_TC11MP_TWD_BASE _VIRT,157 CNS3XXX_TC11MP_TWD_BASE, 155 158 IRQ_LOCALTIMER); 156 157 159 158 160 void __init cns3xxx_common_init(void) … … 170 172 #ifdef CONFIG_CACHE_L2CC 171 173 l2cc_init((void __iomem *) CNS3XXX_L2C_BASE_VIRT); 172 #endif173 #ifdef CONFIG_LOCAL_TIMERS174 int err = twd_local_timer_register(&twd_local_timer);175 if (err)176 pr_err("twd_local_timer_register failed %d\n", err);177 // twd_base = (void __iomem *) CNS3XXX_TC11MP_TWD_BASE_VIRT;178 174 #endif 179 175 gpiochip_add(&cns3xxx_gpio_chip); … … 322 318 clocksource_register(&clocksource_cns3xxx); 323 319 } 324 325 320 /* 326 321 * Set up the clock source and clock events devices … … 361 356 cns3xxx_clocksource_init(); 362 357 cns3xxx_clockevents_init(timer_irq); 358 #ifdef CONFIG_LOCAL_TIMERS 359 int err = twd_local_timer_register(&twd_local_timer); 360 if (err) 361 pr_err("twd_local_timer_register failed %d\n", err); 362 // twd_base = (void __iomem *) CNS3XXX_TC11MP_TWD_BASE_VIRT; 363 #endif 363 364 } 364 365 -
src/linux/universal/linux-3.4/arch/arm/mach-cns3xxx/include/mach/entry-macro.S
r19285 r19317 1 2 1 .macro test_for_cache_ipi, irqnr, irqstat, base, tmp 3 2 bic \irqnr, \irqstat, #0x1c00
Note: See TracChangeset
for help on using the changeset viewer.
