patch-2.1.124 linux/include/asm-ppc/types.h
Next file: linux/include/asm-ppc/uaccess.h
Previous file: linux/include/asm-ppc/termios.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Sep 30 10:14:33 1998
- Orig file:
v2.1.123/linux/include/asm-ppc/types.h
- Orig date:
Mon Jan 12 15:18:13 1998
diff -u --recursive --new-file v2.1.123/linux/include/asm-ppc/types.h linux/include/asm-ppc/types.h
@@ -1,8 +1,6 @@
#ifndef _PPC_TYPES_H
#define _PPC_TYPES_H
-typedef unsigned short umode_t;
-
/*
* __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
* header files exported to user space
@@ -26,6 +24,8 @@
* 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, slshen@lbl.gov