]> git.karo-electronics.de Git - karo-tx-linux.git/commit
syscalls: add __NR_kcmp syscall to generic unistd.h
authorMark Salter <msalter@redhat.com>
Mon, 24 Sep 2012 19:19:26 +0000 (15:19 -0400)
committerMark Salter <msalter@redhat.com>
Mon, 24 Sep 2012 20:38:59 +0000 (16:38 -0400)
commit2547ab374e65029d87c5e5b62b58850f3d3a7add
treed59e23fda3ed03b3a98803b5ad24516a7c8cc95f
parentb02d6175859dfbdecb5ea6562867092b5d69d64e
syscalls: add __NR_kcmp syscall to generic unistd.h

Commit d97b46a64 added a new syscall (__NR_kcmp) to support checkpoint
restore. It is currently x86-only, but that restriction will be removed
in a subsequent patch. Unfortunately, the kernel checksyscalls script
had a bug which suppressed any warning to other architectures that the
kcmp syscall was not implemented. A patch to checksyscalls is being
tested in linux-next and other architectures are seeing warnings about
kcmp being unimplemented.

This patch adds __NR_kcmp to <asm-generic/unistd.h> so that kcmp is
wired in for architectures using the generic syscall list.

Signed-off-by: Mark Salter <msalter@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
include/asm-generic/unistd.h