x86: hide cond_syscall behind __KERNEL__
authorMike Frysinger <vapier@gentoo.org>
Wed, 17 Oct 2007 16:04:36 +0000 (18:04 +0200)
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>
Wed, 17 Oct 2007 18:15:55 +0000 (20:15 +0200)
commit6704ab1cd42269e536a6735db740e57e2c04c3b4
tree3d57069ffc1904c07fc8d79ee8dd73f07d6f945a
parent96d5535870e6a272dcadc300eb9af6ff6c33f6a9
x86: hide cond_syscall behind __KERNEL__

This brings x86_64 into line with all other architectures by only defining
cond_syscall() when __KERNEL__ is defined.

[ tglx: arch/x86 adaptation ]

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/unistd_64.h