diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 17:04:15 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:17 -0500 |
commit | 0583fcc96bb117763c0fa74c123573c0112dec65 (patch) | |
tree | 5d8a62e922c34e6e6bc0836b40f5b59f69266766 /arch/h8300 | |
parent | 1bc94226d5c642b78cf6b2e3e843ef24eb740df0 (diff) |
consolidate umode_t declarations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/h8300')
-rw-r--r-- | arch/h8300/include/asm/types.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/h8300/include/asm/types.h b/arch/h8300/include/asm/types.h index bb2c91a3522e..07257d9487d8 100644 --- a/arch/h8300/include/asm/types.h +++ b/arch/h8300/include/asm/types.h | |||
@@ -3,27 +3,10 @@ | |||
3 | 3 | ||
4 | #include <asm-generic/int-ll64.h> | 4 | #include <asm-generic/int-ll64.h> |
5 | 5 | ||
6 | #if !defined(__ASSEMBLY__) | ||
7 | |||
8 | /* | ||
9 | * This file is never included by application software unless | ||
10 | * explicitly requested (e.g., via linux/types.h) in which case the | ||
11 | * application is Linux specific so (user-) name space pollution is | ||
12 | * not a major issue. However, for interoperability, libraries still | ||
13 | * need to be careful to avoid a name clashes. | ||
14 | */ | ||
15 | |||
16 | typedef unsigned short umode_t; | ||
17 | |||
18 | /* | ||
19 | * These aren't exported outside the kernel to avoid name space clashes | ||
20 | */ | ||
21 | #ifdef __KERNEL__ | 6 | #ifdef __KERNEL__ |
22 | 7 | ||
23 | #define BITS_PER_LONG 32 | 8 | #define BITS_PER_LONG 32 |
24 | 9 | ||
25 | #endif /* __KERNEL__ */ | 10 | #endif /* __KERNEL__ */ |
26 | 11 | ||
27 | #endif /* __ASSEMBLY__ */ | ||
28 | |||
29 | #endif /* _H8300_TYPES_H */ | 12 | #endif /* _H8300_TYPES_H */ |