diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2007-07-10 05:24:21 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-07-10 05:24:53 -0400 |
commit | dce554708cdb02a1053ca3a68997b9facbfde5ce (patch) | |
tree | 35b990796a2a2ec9f4eca14c85af71d94b5a4999 /arch/s390/kernel/time.c | |
parent | 736f563373804e75f9f3b4abb9e480451bfef8d3 (diff) |
[S390] s390: rename CPU_IDLE to S390_CPU_IDLE
sched-cfs-v2.6.22-git-v18.patch introduces CPU_IDLE in sched.h.
This conflict with the already existing define in
include/asm-s390/processor.h
Just rename the s390 defines, since they will go away as soon as
we support CONFIG_NO_HZ instead of our own CONFIG_NO_IDLE_HZ.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/time.c')
-rw-r--r-- | arch/s390/kernel/time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c index 9c2872a7cca7..48dae49bc1ec 100644 --- a/arch/s390/kernel/time.c +++ b/arch/s390/kernel/time.c | |||
@@ -226,10 +226,10 @@ static int nohz_idle_notify(struct notifier_block *self, | |||
226 | unsigned long action, void *hcpu) | 226 | unsigned long action, void *hcpu) |
227 | { | 227 | { |
228 | switch (action) { | 228 | switch (action) { |
229 | case CPU_IDLE: | 229 | case S390_CPU_IDLE: |
230 | stop_hz_timer(); | 230 | stop_hz_timer(); |
231 | break; | 231 | break; |
232 | case CPU_NOT_IDLE: | 232 | case S390_CPU_NOT_IDLE: |
233 | start_hz_timer(); | 233 | start_hz_timer(); |
234 | break; | 234 | break; |
235 | } | 235 | } |