diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2011-03-31 20:52:20 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-05-10 19:15:26 +0200 |
commit | 1e2bbde4afd97b8d6a3f1f6c7bf3b6a9d226ba2e (patch) | |
tree | c79d59db6d76e1150e08f8aad3f74ab65a7a9118 /arch/mips/jz4740 | |
parent | MIPS: JZ4740: Export symbols to the watchdog driver module (diff) | |
download | linux-1e2bbde4afd97b8d6a3f1f6c7bf3b6a9d226ba2e.tar.xz linux-1e2bbde4afd97b8d6a3f1f6c7bf3b6a9d226ba2e.zip |
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. Setting the one-shot flag allows the
kernel to run in tickless mode.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2261/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/jz4740')
-rw-r--r-- | arch/mips/jz4740/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/jz4740/time.c b/arch/mips/jz4740/time.c index fe01678d94fd..eaa853a54af6 100644 --- a/arch/mips/jz4740/time.c +++ b/arch/mips/jz4740/time.c @@ -89,7 +89,7 @@ static int jz4740_clockevent_set_next(unsigned long evt, static struct clock_event_device jz4740_clockevent = { .name = "jz4740-timer", - .features = CLOCK_EVT_FEAT_PERIODIC, + .features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT, .set_next_event = jz4740_clockevent_set_next, .set_mode = jz4740_clockevent_set_mode, .rating = 200, |