patch-2.4.0-test5 linux/include/asm-ppc/machdep.h

Next file: linux/include/asm-ppc/mc146818rtc.h
Previous file: linux/include/asm-ppc/hardirq.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/include/asm-ppc/machdep.h linux/include/asm-ppc/machdep.h
@@ -92,9 +92,12 @@
  * Power macintoshes have either a CUDA or a PMU controlling
  * system reset, power, NVRAM, RTC.
  */
-enum sys_ctrler_kind {
+typedef enum sys_ctrler_kind {
+	SYS_CTRLER_UNKNOWN = 0,
 	SYS_CTRLER_CUDA = 1,
 	SYS_CTRLER_PMU = 2,
-} sys_ctrler;
+} sys_ctrler_t;
+
+extern sys_ctrler_t sys_ctrler;
 
 #endif /* _PPC_MACHDEP_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)