X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=arch%2Fia64%2Fsn%2Fkernel%2Fidle.c;h=49d178f022b581def0c7d023fa20bfdd6e613994;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=65e6e3f77539873c7ce8f4f8522e261c679ce20e;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/ia64/sn/kernel/idle.c b/arch/ia64/sn/kernel/idle.c index 65e6e3f77..49d178f02 100644 --- a/arch/ia64/sn/kernel/idle.c +++ b/arch/ia64/sn/kernel/idle.c @@ -3,14 +3,13 @@ * License. See the file "COPYING" in the main directory of this archive * for more details. * - * Copyright (c) 2001-2003 Silicon Graphics, Inc. All rights reserved. + * Copyright (c) 2001-2004 Silicon Graphics, Inc. All rights reserved. */ -#include #include -#include -void snidle(int state) { +void snidle(int state) +{ if (state) { if (pda->idle_flag == 0) { /* @@ -19,11 +18,6 @@ void snidle(int state) { set_led_bits(0, LED_CPU_ACTIVITY); } -#ifdef CONFIG_IA64_SGI_SN_SIM - if (IS_RUNNING_ON_SIMULATOR()) - SIMULATOR_SLEEP(); -#endif - pda->idle_flag = 1; } else { /*