diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-12-05 16:13:49 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-12-05 16:13:49 -0500 |
commit | 0518469d0a32be1e6dd8850ff274d52d72cdb52d (patch) | |
tree | c13038d099e04208feae565947783cf92ceae9ee /arch/parisc/kernel | |
parent | 28a00184be261e3dc152ba0d664a067bbe235b6a (diff) | |
parent | f5a54dd7952e9032785cd1ef0dde72cd61025341 (diff) |
Merge branch 'fortglx/3.3/tip/timers/core' of git://git.linaro.org/people/jstultz/linux into timers/core
Diffstat (limited to 'arch/parisc/kernel')
-rw-r--r-- | arch/parisc/kernel/time.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c index 45b7389d77aa..7c0774397b89 100644 --- a/arch/parisc/kernel/time.c +++ b/arch/parisc/kernel/time.c | |||
@@ -198,8 +198,6 @@ static struct clocksource clocksource_cr16 = { | |||
198 | .rating = 300, | 198 | .rating = 300, |
199 | .read = read_cr16, | 199 | .read = read_cr16, |
200 | .mask = CLOCKSOURCE_MASK(BITS_PER_LONG), | 200 | .mask = CLOCKSOURCE_MASK(BITS_PER_LONG), |
201 | .mult = 0, /* to be set */ | ||
202 | .shift = 22, | ||
203 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, | 201 | .flags = CLOCK_SOURCE_IS_CONTINUOUS, |
204 | }; | 202 | }; |
205 | 203 | ||
@@ -270,7 +268,5 @@ void __init time_init(void) | |||
270 | 268 | ||
271 | /* register at clocksource framework */ | 269 | /* register at clocksource framework */ |
272 | current_cr16_khz = PAGE0->mem_10msec/10; /* kHz */ | 270 | current_cr16_khz = PAGE0->mem_10msec/10; /* kHz */ |
273 | clocksource_cr16.mult = clocksource_khz2mult(current_cr16_khz, | 271 | clocksource_register_khz(&clocksource_cr16, current_cr16_khz); |
274 | clocksource_cr16.shift); | ||
275 | clocksource_register(&clocksource_cr16); | ||
276 | } | 272 | } |