summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/unistd.h
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2011-03-19 16:47:53 +0100
committerChris Metcalf <cmetcalf@tilera.com>2011-03-20 05:09:20 +0100
commit339dc50e59f4ea697e2b8cd6296328a8015a6c21 (patch)
tree6e5382e8b50478b0000890980af8f83697812876 /include/asm-generic/unistd.h
parentarch/tile: fix futex sanitization definition/prototype mismatch (diff)
downloadlinux-339dc50e59f4ea697e2b8cd6296328a8015a6c21.tar.xz
linux-339dc50e59f4ea697e2b8cd6296328a8015a6c21.zip
asm-generic: support clock_adjtime() in <asm-generic/unistd.h>
A syscall was added without being added to asm-generic, which makes tile (and presumably score and unicore32) break. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Cc: Chen Liqin <liqin.chen@sunplusct.com> Cc: Lennox Wu <lennox.wu@gmail.com>
Diffstat (limited to 'include/asm-generic/unistd.h')
-rw-r--r--include/asm-generic/unistd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h
index 57af0338d270..d94f447c667a 100644
--- a/include/asm-generic/unistd.h
+++ b/include/asm-generic/unistd.h
@@ -650,9 +650,11 @@ __SYSCALL(__NR_fanotify_mark, sys_fanotify_mark)
__SYSCALL(__NR_name_to_handle_at, sys_name_to_handle_at)
#define __NR_open_by_handle_at 265
__SYSCALL(__NR_open_by_handle_at, sys_open_by_handle_at)
+#define __NR_clock_adjtime 266
+__SYSCALL(__NR_clock_adjtime, sys_clock_adjtime)
#undef __NR_syscalls
-#define __NR_syscalls 266
+#define __NR_syscalls 267
/*
* All syscalls below here should go away really,