diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390/include/asm/cputime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/cputime.h b/arch/s390/include/asm/cputime.h index 40e2ab0fa3f0..081434878296 100644 --- a/arch/s390/include/asm/cputime.h +++ b/arch/s390/include/asm/cputime.h | |||
@@ -202,7 +202,7 @@ static inline void s390_idle_check(struct pt_regs *regs, __u64 int_clock, | |||
202 | 202 | ||
203 | static inline int s390_nohz_delay(int cpu) | 203 | static inline int s390_nohz_delay(int cpu) |
204 | { | 204 | { |
205 | return per_cpu(s390_idle, cpu).nohz_delay != 0; | 205 | return __get_cpu_var(s390_idle).nohz_delay != 0; |
206 | } | 206 | } |
207 | 207 | ||
208 | #define arch_needs_cpu(cpu) s390_nohz_delay(cpu) | 208 | #define arch_needs_cpu(cpu) s390_nohz_delay(cpu) |