Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280280
b: refs/heads/master
c: 0583fcc
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Jan 4, 2012
1 parent 765b927 commit 01a078d
Show file tree
Hide file tree
Showing 20 changed files with 2 additions and 103 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1bc94226d5c642b78cf6b2e3e843ef24eb740df0
refs/heads/master: 0583fcc96bb117763c0fa74c123573c0112dec65
5 changes: 0 additions & 5 deletions trunk/arch/alpha/include/asm/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,4 @@
#include <asm-generic/int-l64.h>
#endif

#ifndef __ASSEMBLY__

typedef unsigned int umode_t;

#endif /* __ASSEMBLY__ */
#endif /* _ALPHA_TYPES_H */
6 changes: 0 additions & 6 deletions trunk/arch/arm/include/asm/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@

#include <asm-generic/int-ll64.h>

#ifndef __ASSEMBLY__

typedef unsigned short umode_t;

#endif /* __ASSEMBLY__ */

/*
* These aren't exported outside the kernel to avoid name space clashes
*/
Expand Down
6 changes: 0 additions & 6 deletions trunk/arch/avr32/include/asm/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@

#include <asm-generic/int-ll64.h>

#ifndef __ASSEMBLY__

typedef unsigned short umode_t;

#endif /* __ASSEMBLY__ */

/*
* These aren't exported outside the kernel to avoid name space clashes
*/
Expand Down
6 changes: 0 additions & 6 deletions trunk/arch/cris/include/asm/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@

#include <asm-generic/int-ll64.h>

#ifndef __ASSEMBLY__

typedef unsigned short umode_t;

#endif /* __ASSEMBLY__ */

/*
* These aren't exported outside the kernel to avoid name space clashes
*/
Expand Down
6 changes: 0 additions & 6 deletions trunk/arch/frv/include/asm/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@

#include <asm-generic/int-ll64.h>

#ifndef __ASSEMBLY__

typedef unsigned short umode_t;

#endif /* __ASSEMBLY__ */

/*
* These aren't exported outside the kernel to avoid name space clashes
*/
Expand Down
17 changes: 0 additions & 17 deletions trunk/arch/h8300/include/asm/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,10 @@

#include <asm-generic/int-ll64.h>

#if !defined(__ASSEMBLY__)

/*
* This file is never included by application software unless
* explicitly requested (e.g., via linux/types.h) in which case the
* application is Linux specific so (user-) name space pollution is
* not a major issue. However, for interoperability, libraries still
* need to be careful to avoid a name clashes.
*/

typedef unsigned short umode_t;

/*
* These aren't exported outside the kernel to avoid name space clashes
*/
#ifdef __KERNEL__

#define BITS_PER_LONG 32

#endif /* __KERNEL__ */

#endif /* __ASSEMBLY__ */

#endif /* _H8300_TYPES_H */
2 changes: 0 additions & 2 deletions trunk/arch/ia64/include/asm/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
# define __IA64_UL(x) ((unsigned long)(x))
# define __IA64_UL_CONST(x) x##UL

typedef unsigned int umode_t;

/*
* These aren't exported outside the kernel to avoid name space clashes
*/
Expand Down
6 changes: 0 additions & 6 deletions trunk/arch/m32r/include/asm/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@

#include <asm-generic/int-ll64.h>

#ifndef __ASSEMBLY__

typedef unsigned short umode_t;

#endif /* __ASSEMBLY__ */

/*
* These aren't exported outside the kernel to avoid name space clashes
*/
Expand Down
6 changes: 0 additions & 6 deletions trunk/arch/m68k/include/asm/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@
*/
#include <asm-generic/int-ll64.h>

#ifndef __ASSEMBLY__

typedef unsigned short umode_t;

#endif /* __ASSEMBLY__ */

/*
* These aren't exported outside the kernel to avoid name space clashes
*/
Expand Down
6 changes: 0 additions & 6 deletions trunk/arch/mips/include/asm/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@
# include <asm-generic/int-ll64.h>
#endif

#ifndef __ASSEMBLY__

typedef unsigned short umode_t;

#endif /* __ASSEMBLY__ */

/*
* These aren't exported outside the kernel to avoid name space clashes
*/
Expand Down
6 changes: 0 additions & 6 deletions trunk/arch/mn10300/include/asm/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@

#include <asm-generic/int-ll64.h>

#ifndef __ASSEMBLY__

typedef unsigned short umode_t;

#endif /* __ASSEMBLY__ */

/*
* These aren't exported outside the kernel to avoid name space clashes
*/
Expand Down
6 changes: 0 additions & 6 deletions trunk/arch/parisc/include/asm/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,4 @@

#include <asm-generic/int-ll64.h>

#ifndef __ASSEMBLY__

typedef unsigned short umode_t;

#endif /* __ASSEMBLY__ */

#endif
6 changes: 0 additions & 6 deletions trunk/arch/powerpc/include/asm/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@
* 2 of the License, or (at your option) any later version.
*/

#ifdef __powerpc64__
typedef unsigned int umode_t;
#else
typedef unsigned short umode_t;
#endif

typedef struct {
__u32 u[4];
} __attribute__((aligned(16))) __vector128;
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/s390/include/asm/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

#ifndef __ASSEMBLY__

typedef unsigned short umode_t;

/* A address type so that arithmetic can be done on it & it can be upgraded to
64 bit when necessary
*/
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/sparc/include/asm/posix_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ typedef unsigned int __kernel_uid_t;
typedef unsigned int __kernel_gid_t;
typedef unsigned long __kernel_ino_t;
typedef unsigned int __kernel_mode_t;
typedef unsigned short __kernel_umode_t;
typedef unsigned int __kernel_nlink_t;
typedef int __kernel_daddr_t;
typedef long __kernel_off_t;
Expand Down Expand Up @@ -55,7 +54,6 @@ typedef unsigned short __kernel_uid_t;
typedef unsigned short __kernel_gid_t;
typedef unsigned long __kernel_ino_t;
typedef unsigned short __kernel_mode_t;
typedef unsigned short __kernel_umode_t;
typedef short __kernel_nlink_t;
typedef long __kernel_daddr_t;
typedef long __kernel_off_t;
Expand Down
6 changes: 0 additions & 6 deletions trunk/arch/sparc/include/asm/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@

#include <asm-generic/int-ll64.h>

#ifndef __ASSEMBLY__

typedef unsigned short umode_t;

#endif /* __ASSEMBLY__ */

#endif /* defined(__sparc__) */

#endif /* defined(_SPARC_TYPES_H) */
2 changes: 0 additions & 2 deletions trunk/arch/xtensa/include/asm/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@

#ifndef __ASSEMBLY__

typedef unsigned short umode_t;

/*
* These aren't exported outside the kernel to avoid name space clashes
*/
Expand Down
6 changes: 0 additions & 6 deletions trunk/include/asm-generic/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,4 @@
*/
#include <asm-generic/int-ll64.h>

#ifndef __ASSEMBLY__

typedef unsigned short umode_t;

#endif /* __ASSEMBLY__ */

#endif /* _ASM_GENERIC_TYPES_H */
1 change: 1 addition & 0 deletions trunk/include/linux/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ typedef __kernel_fd_set fd_set;
typedef __kernel_dev_t dev_t;
typedef __kernel_ino_t ino_t;
typedef __kernel_mode_t mode_t;
typedef unsigned short umode_t;
typedef __kernel_nlink_t nlink_t;
typedef __kernel_off_t off_t;
typedef __kernel_pid_t pid_t;
Expand Down

0 comments on commit 01a078d

Please sign in to comment.