2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
6 * Copyright (c) 2001-2003 Silicon Graphics, Inc. All rights reserved.
9 #include <linux/config.h>
10 #include <asm/sn/leds.h>
11 #include <asm/sn/simulator.h>
13 void snidle(int state) {
15 if (pda->idle_flag == 0) {
17 * Turn the activity LED off.
19 set_led_bits(0, LED_CPU_ACTIVITY);
22 #ifdef CONFIG_IA64_SGI_SN_SIM
23 if (IS_RUNNING_ON_SIMULATOR())
30 * Turn the activity LED on.
32 set_led_bits(LED_CPU_ACTIVITY, LED_CPU_ACTIVITY);