Date:2011-03-31 15:40:30 (12 years 11 months ago)
Author:Lars C.
Commit:b0a53368fa92a5dc9d16d9200307331fb6399c1f
Message:MIPS: JZ4740: Set one-shot feature flag for the clockevent

The code for supporting one-shot mode for the clockevent is already there, only
the feature flag was not set.
This patch allows the kernel to run in tickless mode.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Files: arch/mips/jz4740/time.c (1 diff)

Change Details

arch/mips/jz4740/time.c
8989
9090static struct clock_event_device jz4740_clockevent = {
9191    .name = "jz4740-timer",
92    .features = CLOCK_EVT_FEAT_PERIODIC,
92    .features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT,
9393    .set_next_event = jz4740_clockevent_set_next,
9494    .set_mode = jz4740_clockevent_set_mode,
9595    .rating = 200,

Archive Download the corresponding diff file



interactive