diff options
Diffstat (limited to 'include/asm-generic/int-ll64.h')
-rw-r--r-- | include/asm-generic/int-ll64.h | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/include/asm-generic/int-ll64.h b/include/asm-generic/int-ll64.h index f394147c0739..4cd84855cb46 100644 --- a/include/asm-generic/int-ll64.h +++ b/include/asm-generic/int-ll64.h | |||
@@ -4,38 +4,11 @@ | |||
4 | * Integer declarations for architectures which use "long long" | 4 | * Integer declarations for architectures which use "long long" |
5 | * for 64-bit types. | 5 | * for 64-bit types. |
6 | */ | 6 | */ |
7 | |||
8 | #ifndef _ASM_GENERIC_INT_LL64_H | 7 | #ifndef _ASM_GENERIC_INT_LL64_H |
9 | #define _ASM_GENERIC_INT_LL64_H | 8 | #define _ASM_GENERIC_INT_LL64_H |
10 | 9 | ||
11 | #include <asm/bitsperlong.h> | 10 | #include <uapi/asm-generic/int-ll64.h> |
12 | |||
13 | #ifndef __ASSEMBLY__ | ||
14 | /* | ||
15 | * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the | ||
16 | * header files exported to user space | ||
17 | */ | ||
18 | |||
19 | typedef __signed__ char __s8; | ||
20 | typedef unsigned char __u8; | ||
21 | 11 | ||
22 | typedef __signed__ short __s16; | ||
23 | typedef unsigned short __u16; | ||
24 | |||
25 | typedef __signed__ int __s32; | ||
26 | typedef unsigned int __u32; | ||
27 | |||
28 | #ifdef __GNUC__ | ||
29 | __extension__ typedef __signed__ long long __s64; | ||
30 | __extension__ typedef unsigned long long __u64; | ||
31 | #else | ||
32 | typedef __signed__ long long __s64; | ||
33 | typedef unsigned long long __u64; | ||
34 | #endif | ||
35 | |||
36 | #endif /* __ASSEMBLY__ */ | ||
37 | |||
38 | #ifdef __KERNEL__ | ||
39 | 12 | ||
40 | #ifndef __ASSEMBLY__ | 13 | #ifndef __ASSEMBLY__ |
41 | 14 | ||
@@ -73,6 +46,4 @@ typedef unsigned long long u64; | |||
73 | 46 | ||
74 | #endif /* __ASSEMBLY__ */ | 47 | #endif /* __ASSEMBLY__ */ |
75 | 48 | ||
76 | #endif /* __KERNEL__ */ | ||
77 | |||
78 | #endif /* _ASM_GENERIC_INT_LL64_H */ | 49 | #endif /* _ASM_GENERIC_INT_LL64_H */ |