patch-2.4.9 linux/include/asm-ppc/types.h

Next file: linux/include/asm-s390/softirq.h
Previous file: linux/include/asm-ppc/prom.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/include/asm-ppc/types.h linux/include/asm-ppc/types.h
@@ -1,5 +1,5 @@
 /*
- * BK Id: SCCS/s.types.h 1.5 05/17/01 18:14:26 cort
+ * BK Id: SCCS/s.types.h 1.8 07/07/01 13:37:26 paulus
  */
 #ifndef _PPC_TYPES_H
 #define _PPC_TYPES_H
@@ -47,9 +47,14 @@
 /* DMA addresses are 32-bits wide */
 typedef u32 dma_addr_t;
 
+#endif /* __KERNEL__ */
+
+/*
+ * XXX allowed outside of __KERNEL__ for now, until glibc gets
+ * a proper set of asm headers of its own.  -- paulus
+ */
 typedef unsigned short umode_t;
 
-#endif /* __KERNEL__ */
 #endif /* __ASSEMBLY__ */
 
 #endif

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