diff options
author | David Howells <dhowells@redhat.com> | 2007-05-08 23:27:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 23:41:14 -0400 |
commit | 5616df204ecf164ef2b124a17fd3cadd87954628 (patch) | |
tree | edddd0cacd41d3747a189795b453171d2a66a31b /include | |
parent | 4b8df8915a6980f476e1fa8f4d156e36cb63bf76 (diff) |
FRV: Miscellaneous fixes
Miscellaneous fixes to bring FRV up to date:
(1) Copy the new syscall numbers from i386 to asm-frv/unistd.h and fill out
the syscall table in entry.S too.
(2) Mark __frv_uart0 and __frv_uart1 __pminitdata rather than __initdata so
that determine_clocks() can access them when CONFIG_PM=y.
(3) Make arch/frv/mm/elf-fdpic.c include asm/mman.h so that MAP_FIXED is
available (fixes commit 2fd3bebaad9da3b3b99c46a3389099424bf7ee35).
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-frv/unistd.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/include/asm-frv/unistd.h b/include/asm-frv/unistd.h index 584c0417ae4d..d0ea6789b31e 100644 --- a/include/asm-frv/unistd.h +++ b/include/asm-frv/unistd.h | |||
@@ -186,8 +186,8 @@ | |||
186 | #define __NR_rt_sigtimedwait 177 | 186 | #define __NR_rt_sigtimedwait 177 |
187 | #define __NR_rt_sigqueueinfo 178 | 187 | #define __NR_rt_sigqueueinfo 178 |
188 | #define __NR_rt_sigsuspend 179 | 188 | #define __NR_rt_sigsuspend 179 |
189 | #define __NR_pread 180 | 189 | #define __NR_pread64 180 |
190 | #define __NR_pwrite 181 | 190 | #define __NR_pwrite64 181 |
191 | #define __NR_chown 182 | 191 | #define __NR_chown 182 |
192 | #define __NR_getcwd 183 | 192 | #define __NR_getcwd 183 |
193 | #define __NR_capget 184 | 193 | #define __NR_capget 184 |
@@ -316,10 +316,20 @@ | |||
316 | #define __NR_faccessat 307 | 316 | #define __NR_faccessat 307 |
317 | #define __NR_pselect6 308 | 317 | #define __NR_pselect6 308 |
318 | #define __NR_ppoll 309 | 318 | #define __NR_ppoll 309 |
319 | #define __NR_unshare 310 | ||
320 | #define __NR_set_robust_list 311 | ||
321 | #define __NR_get_robust_list 312 | ||
322 | #define __NR_splice 313 | ||
323 | #define __NR_sync_file_range 314 | ||
324 | #define __NR_tee 315 | ||
325 | #define __NR_vmsplice 316 | ||
326 | #define __NR_move_pages 317 | ||
327 | #define __NR_getcpu 318 | ||
328 | #define __NR_epoll_pwait 319 | ||
319 | 329 | ||
320 | #ifdef __KERNEL__ | 330 | #ifdef __KERNEL__ |
321 | 331 | ||
322 | #define NR_syscalls 310 | 332 | #define NR_syscalls 320 |
323 | 333 | ||
324 | #define __ARCH_WANT_IPC_PARSE_VERSION | 334 | #define __ARCH_WANT_IPC_PARSE_VERSION |
325 | /* #define __ARCH_WANT_OLD_READDIR */ | 335 | /* #define __ARCH_WANT_OLD_READDIR */ |