diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-01-05 06:47:27 -0500 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-01-05 06:47:25 -0500 |
commit | 545b288dcbdea58a2ce2afba5f6a8302d31ac459 (patch) | |
tree | 240648d44bbe6b00968443d5d14d1ae653b58e10 /arch/s390/lib/delay.c | |
parent | 17eb7a5cfa98627e5b34e9a9a33b4f04f1c8832d (diff) |
[S390] time: let local_tick_enable/disable() reprogram the clock comparator
Let local_tick_enable/disable() reprogram the clock comparator so the
function names make semantically more sense.
Also that way the functions are more symmetric since normally each
local_tick_enable() call usually would have a subsequent call to
set_clock_comparator() anyway.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/lib/delay.c')
-rw-r--r-- | arch/s390/lib/delay.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/lib/delay.c b/arch/s390/lib/delay.c index 7c37ec359ec2..0f53110e1d09 100644 --- a/arch/s390/lib/delay.c +++ b/arch/s390/lib/delay.c | |||
@@ -47,7 +47,6 @@ static void __udelay_disabled(unsigned long long usecs) | |||
47 | lockdep_on(); | 47 | lockdep_on(); |
48 | __ctl_load(cr0_saved, 0, 0); | 48 | __ctl_load(cr0_saved, 0, 0); |
49 | local_tick_enable(clock_saved); | 49 | local_tick_enable(clock_saved); |
50 | set_clock_comparator(S390_lowcore.clock_comparator); | ||
51 | } | 50 | } |
52 | 51 | ||
53 | static void __udelay_enabled(unsigned long long usecs) | 52 | static void __udelay_enabled(unsigned long long usecs) |
@@ -70,7 +69,6 @@ static void __udelay_enabled(unsigned long long usecs) | |||
70 | if (clock_saved) | 69 | if (clock_saved) |
71 | local_tick_enable(clock_saved); | 70 | local_tick_enable(clock_saved); |
72 | } while (get_clock() < end); | 71 | } while (get_clock() < end); |
73 | set_clock_comparator(S390_lowcore.clock_comparator); | ||
74 | } | 72 | } |
75 | 73 | ||
76 | /* | 74 | /* |