Skip to contentSkip to conversation

Clockevent API change

DISCUSSION Dirk Behme 1 participant 1 message Jan 27, 2007

lore
Share & tools
lore

Dirk Behme

author
#0 lore raw

Hi,

it looks to me from patch-2.6.20-rc5-rt2 to patch-2.6.20-rc6-rt2 (the versions I tested ;) ) the clockevent interface changed?

At least arch/arm/plat-omap/timer32k.c int rc6-rt2 won't compile any more.

Changes I noticed:

- CLOCK_EVT_xxx moved to CLOCK_EVT_MODE_xxx

- register_global_clockevent() is replaced by clockevents_register_device() and something like

extern struct clock_event_device *global_clock_event

(from arch/i386/kernel/hpet.c)

- .capabilities is switched to .features

- .is_continuous is switched to .flags (clocksource)

Any more changes necessary I not found yet? Any small examples what to consider while moving to rc6-rt2? At least how to replace register_global_clockevent() correctly?

Many thanks

Dirk