kcmp: make it depend on CHECKPOINT_RESTORE
authorCyrill Gorcunov <[email protected]>
Thu, 28 Feb 2013 01:05:58 +0000 (17:05 -0800)
committerLinus Torvalds <[email protected]>
Thu, 28 Feb 2013 03:10:24 +0000 (19:10 -0800)
commit1e142b29e210b5dfb2deeb6ce2210b60af16d2a6
tree1897f00bd56135a32dd11dfbebd46343293d26fa
parent80d03428597056f4e2d1aed389929ece7879dad1
kcmp: make it depend on CHECKPOINT_RESTORE

Since kcmp syscall has been implemented (initially on x86 architecture) a
number of other archs wire it up as well: xtensa, sparc, sh, s390, mips,
microblaze, m68k (not taking into account those who uses
<asm-generic/unistd.h> for syscall numbers definitions).

But the Makefile, which turns kcmp.o generation on still depends on former
config-x86.  Thus get rid of this limitation and make kcmp.o depend on
CHECKPOINT_RESTORE option.

Signed-off-by: Cyrill Gorcunov <[email protected]>
Cc: Pavel Emelyanov <[email protected]>
Cc: Andrey Vagin <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
kernel/Makefile