timer.c (c09c9dd2e9c732658c744a802101d5c34fedde22) | timer.c (0b3e6fca4d1af4aa150d32506220f4241323a00c) |
---|---|
1/* 2 * linux/arch/arm/mach-omap2/timer.c 3 * 4 * OMAP2 GP timer support. 5 * 6 * Copyright (C) 2009 Nokia Corporation 7 * 8 * Update to use new clocksource/clockevent layers --- 306 unchanged lines hidden (view full) --- 315 return -EINVAL; 316 317 timer->rate = clk_get_rate(timer->fclk); 318 timer->reserved = 1; 319 320 return r; 321} 322 | 1/* 2 * linux/arch/arm/mach-omap2/timer.c 3 * 4 * OMAP2 GP timer support. 5 * 6 * Copyright (C) 2009 Nokia Corporation 7 * 8 * Update to use new clocksource/clockevent layers --- 306 unchanged lines hidden (view full) --- 315 return -EINVAL; 316 317 timer->rate = clk_get_rate(timer->fclk); 318 timer->reserved = 1; 319 320 return r; 321} 322 |
323#if !defined(CONFIG_SMP) && defined(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST) 324void tick_broadcast(const struct cpumask *mask) 325{ 326} 327#endif 328 |
|
323static void __init omap2_gp_clockevent_init(int gptimer_id, 324 const char *fck_source, 325 const char *property) 326{ 327 int res; 328 329 clkev.id = gptimer_id; 330 clkev.errata = omap_dm_timer_get_errata(); --- 435 unchanged lines hidden --- | 329static void __init omap2_gp_clockevent_init(int gptimer_id, 330 const char *fck_source, 331 const char *property) 332{ 333 int res; 334 335 clkev.id = gptimer_id; 336 clkev.errata = omap_dm_timer_get_errata(); --- 435 unchanged lines hidden --- |