diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390/include/asm/timex.h | 2 | ||||
-rw-r--r-- | arch/s390/lib/delay.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/include/asm/timex.h b/arch/s390/include/asm/timex.h index 335afc057d3e..88829a40af6f 100644 --- a/arch/s390/include/asm/timex.h +++ b/arch/s390/include/asm/timex.h | |||
@@ -59,12 +59,14 @@ static inline unsigned long long local_tick_disable(void) | |||
59 | 59 | ||
60 | old = S390_lowcore.clock_comparator; | 60 | old = S390_lowcore.clock_comparator; |
61 | S390_lowcore.clock_comparator = -1ULL; | 61 | S390_lowcore.clock_comparator = -1ULL; |
62 | set_clock_comparator(S390_lowcore.clock_comparator); | ||
62 | return old; | 63 | return old; |
63 | } | 64 | } |
64 | 65 | ||
65 | static inline void local_tick_enable(unsigned long long comp) | 66 | static inline void local_tick_enable(unsigned long long comp) |
66 | { | 67 | { |
67 | S390_lowcore.clock_comparator = comp; | 68 | S390_lowcore.clock_comparator = comp; |
69 | set_clock_comparator(S390_lowcore.clock_comparator); | ||
68 | } | 70 | } |
69 | 71 | ||
70 | #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */ | 72 | #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */ |
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 | /* |