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

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

diff -u --recursive --new-file v2.2.3/linux/include/asm-ppc/types.h linux/include/asm-ppc/types.h
@@ -6,6 +6,8 @@
  * header files exported to user space
  */
 
+typedef unsigned short umode_t;
+
 typedef __signed__ char __s8;
 typedef unsigned char __u8;
 
@@ -24,8 +26,6 @@
  * These aren't exported outside the kernel to avoid name space clashes
  */
 #ifdef __KERNEL__
-
-typedef unsigned short umode_t;
 
 typedef signed char s8;
 typedef unsigned char u8;

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