Skip to content

Commit

Permalink
asm-generic: support clock_adjtime() in <asm-generic/unistd.h>
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chris Metcalf committed Mar 20, 2011
1 parent 5b47877 commit 339dc50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/asm-generic/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 339dc50

Please sign in to comment.