diff options
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/fcntl.h | 12 | ||||
-rw-r--r-- | include/asm-generic/siginfo.h | 14 | ||||
-rw-r--r-- | include/asm-generic/statfs.h | 5 | ||||
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 15 |
4 files changed, 22 insertions, 24 deletions
diff --git a/include/asm-generic/fcntl.h b/include/asm-generic/fcntl.h index b8477414c5c8..4d3e48373e74 100644 --- a/include/asm-generic/fcntl.h +++ b/include/asm-generic/fcntl.h | |||
@@ -117,9 +117,9 @@ | |||
117 | struct flock { | 117 | struct flock { |
118 | short l_type; | 118 | short l_type; |
119 | short l_whence; | 119 | short l_whence; |
120 | off_t l_start; | 120 | __kernel_off_t l_start; |
121 | off_t l_len; | 121 | __kernel_off_t l_len; |
122 | pid_t l_pid; | 122 | __kernel_pid_t l_pid; |
123 | __ARCH_FLOCK_PAD | 123 | __ARCH_FLOCK_PAD |
124 | }; | 124 | }; |
125 | #endif | 125 | #endif |
@@ -140,9 +140,9 @@ struct flock { | |||
140 | struct flock64 { | 140 | struct flock64 { |
141 | short l_type; | 141 | short l_type; |
142 | short l_whence; | 142 | short l_whence; |
143 | loff_t l_start; | 143 | __kernel_loff_t l_start; |
144 | loff_t l_len; | 144 | __kernel_loff_t l_len; |
145 | pid_t l_pid; | 145 | __kernel_pid_t l_pid; |
146 | __ARCH_FLOCK64_PAD | 146 | __ARCH_FLOCK64_PAD |
147 | }; | 147 | }; |
148 | #endif | 148 | #endif |
diff --git a/include/asm-generic/siginfo.h b/include/asm-generic/siginfo.h index 969570167e9e..35752dadd6df 100644 --- a/include/asm-generic/siginfo.h +++ b/include/asm-generic/siginfo.h | |||
@@ -23,7 +23,7 @@ typedef union sigval { | |||
23 | #endif | 23 | #endif |
24 | 24 | ||
25 | #ifndef __ARCH_SI_UID_T | 25 | #ifndef __ARCH_SI_UID_T |
26 | #define __ARCH_SI_UID_T uid_t | 26 | #define __ARCH_SI_UID_T __kernel_uid32_t |
27 | #endif | 27 | #endif |
28 | 28 | ||
29 | /* | 29 | /* |
@@ -47,13 +47,13 @@ typedef struct siginfo { | |||
47 | 47 | ||
48 | /* kill() */ | 48 | /* kill() */ |
49 | struct { | 49 | struct { |
50 | pid_t _pid; /* sender's pid */ | 50 | __kernel_pid_t _pid; /* sender's pid */ |
51 | __ARCH_SI_UID_T _uid; /* sender's uid */ | 51 | __ARCH_SI_UID_T _uid; /* sender's uid */ |
52 | } _kill; | 52 | } _kill; |
53 | 53 | ||
54 | /* POSIX.1b timers */ | 54 | /* POSIX.1b timers */ |
55 | struct { | 55 | struct { |
56 | timer_t _tid; /* timer id */ | 56 | __kernel_timer_t _tid; /* timer id */ |
57 | int _overrun; /* overrun count */ | 57 | int _overrun; /* overrun count */ |
58 | char _pad[sizeof( __ARCH_SI_UID_T) - sizeof(int)]; | 58 | char _pad[sizeof( __ARCH_SI_UID_T) - sizeof(int)]; |
59 | sigval_t _sigval; /* same as below */ | 59 | sigval_t _sigval; /* same as below */ |
@@ -62,18 +62,18 @@ typedef struct siginfo { | |||
62 | 62 | ||
63 | /* POSIX.1b signals */ | 63 | /* POSIX.1b signals */ |
64 | struct { | 64 | struct { |
65 | pid_t _pid; /* sender's pid */ | 65 | __kernel_pid_t _pid; /* sender's pid */ |
66 | __ARCH_SI_UID_T _uid; /* sender's uid */ | 66 | __ARCH_SI_UID_T _uid; /* sender's uid */ |
67 | sigval_t _sigval; | 67 | sigval_t _sigval; |
68 | } _rt; | 68 | } _rt; |
69 | 69 | ||
70 | /* SIGCHLD */ | 70 | /* SIGCHLD */ |
71 | struct { | 71 | struct { |
72 | pid_t _pid; /* which child */ | 72 | __kernel_pid_t _pid; /* which child */ |
73 | __ARCH_SI_UID_T _uid; /* sender's uid */ | 73 | __ARCH_SI_UID_T _uid; /* sender's uid */ |
74 | int _status; /* exit code */ | 74 | int _status; /* exit code */ |
75 | clock_t _utime; | 75 | __kernel_clock_t _utime; |
76 | clock_t _stime; | 76 | __kernel_clock_t _stime; |
77 | } _sigchld; | 77 | } _sigchld; |
78 | 78 | ||
79 | /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */ | 79 | /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */ |
diff --git a/include/asm-generic/statfs.h b/include/asm-generic/statfs.h index 6129d6802149..3b4fb3e52f0d 100644 --- a/include/asm-generic/statfs.h +++ b/include/asm-generic/statfs.h | |||
@@ -1,8 +1,9 @@ | |||
1 | #ifndef _GENERIC_STATFS_H | 1 | #ifndef _GENERIC_STATFS_H |
2 | #define _GENERIC_STATFS_H | 2 | #define _GENERIC_STATFS_H |
3 | 3 | ||
4 | #ifndef __KERNEL_STRICT_NAMES | 4 | #include <linux/types.h> |
5 | # include <linux/types.h> | 5 | |
6 | #ifdef __KERNEL__ | ||
6 | typedef __kernel_fsid_t fsid_t; | 7 | typedef __kernel_fsid_t fsid_t; |
7 | #endif | 8 | #endif |
8 | 9 | ||
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index 5406e70aba86..a654d724d3b0 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
@@ -80,6 +80,11 @@ | |||
80 | VMLINUX_SYMBOL(__start___tracepoints) = .; \ | 80 | VMLINUX_SYMBOL(__start___tracepoints) = .; \ |
81 | *(__tracepoints) \ | 81 | *(__tracepoints) \ |
82 | VMLINUX_SYMBOL(__stop___tracepoints) = .; \ | 82 | VMLINUX_SYMBOL(__stop___tracepoints) = .; \ |
83 | /* implement dynamic printk debug */ \ | ||
84 | . = ALIGN(8); \ | ||
85 | VMLINUX_SYMBOL(__start___verbose) = .; \ | ||
86 | *(__verbose) \ | ||
87 | VMLINUX_SYMBOL(__stop___verbose) = .; \ | ||
83 | LIKELY_PROFILE() \ | 88 | LIKELY_PROFILE() \ |
84 | BRANCH_PROFILE() | 89 | BRANCH_PROFILE() |
85 | 90 | ||
@@ -309,15 +314,7 @@ | |||
309 | CPU_DISCARD(init.data) \ | 314 | CPU_DISCARD(init.data) \ |
310 | CPU_DISCARD(init.rodata) \ | 315 | CPU_DISCARD(init.rodata) \ |
311 | MEM_DISCARD(init.data) \ | 316 | MEM_DISCARD(init.data) \ |
312 | MEM_DISCARD(init.rodata) \ | 317 | MEM_DISCARD(init.rodata) |
313 | /* implement dynamic printk debug */ \ | ||
314 | VMLINUX_SYMBOL(__start___verbose_strings) = .; \ | ||
315 | *(__verbose_strings) \ | ||
316 | VMLINUX_SYMBOL(__stop___verbose_strings) = .; \ | ||
317 | . = ALIGN(8); \ | ||
318 | VMLINUX_SYMBOL(__start___verbose) = .; \ | ||
319 | *(__verbose) \ | ||
320 | VMLINUX_SYMBOL(__stop___verbose) = .; | ||
321 | 318 | ||
322 | #define INIT_TEXT \ | 319 | #define INIT_TEXT \ |
323 | *(.init.text) \ | 320 | *(.init.text) \ |