patch-2.3.16 linux/arch/ppc/kernel/idle.c
Next file: linux/arch/ppc/kernel/irq.c
Previous file: linux/arch/ppc/kernel/head_8xx.S
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Tue Aug 31 11:36:43 1999
- Orig file:
v2.3.15/linux/arch/ppc/kernel/idle.c
- Orig date:
Fri Jul 23 12:20:23 1999
diff -u --recursive --new-file v2.3.15/linux/arch/ppc/kernel/idle.c linux/arch/ppc/kernel/idle.c
@@ -1,5 +1,5 @@
/*
- * $Id: idle.c,v 1.63 1999/06/10 22:55:35 geert Exp $
+ * $Id: idle.c,v 1.65 1999/08/03 19:16:19 cort Exp $
*
* Idle daemon for PowerPC. Idle daemon will handle any action
* that needs to be taken when the system becomes idle.
@@ -69,7 +69,6 @@
return 0;
}
-#ifdef __SMP__
/*
* SMP entry into the idle task - calls the same thing as the
* non-smp versions. -- Cort
@@ -78,19 +77,6 @@
{
idled(unused);
return 0;
-}
-#endif /* __SMP__ */
-
-/*
- * Syscall entry into the idle task. -- Cort
- */
-asmlinkage int sys_idle(void)
-{
- if(current->pid != 0)
- return -EPERM;
-
- idled(NULL);
- return 0; /* should never execute this but it makes gcc happy -- Cort */
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)