x86: headers cleanup - prctl.h
authorCyrill Gorcunov <gorcunov@gmail.com>
Wed, 14 Jan 2009 20:37:47 +0000 (23:37 +0300)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 14 Jan 2009 22:16:52 +0000 (14:16 -0800)
commit444027031cd069ea7e48b016cb33bbf201c8a9f0
treea0714cb46419dfa2b6cd1b945c3aeb90373ea2df
parentae04d1401577bb63151480a053057de58b8e10bb
x86: headers cleanup - prctl.h

Impact: cleanup (internal kernel function exported)

'make headers_check' warn us about leaking of kernel private
(mostly compile time vars) data to userspace in headers. Fix it.

sys_arch_prctl is completely removed from
header since frankly I don't even understand why we
describe it here. It is described like
__SYSCALL(__NR_arch_prctl, sys_arch_prctl) in unistd_64.h
and implemented in process_64.c. User-mode linux involved?
So this one in fact is suspicious.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/prctl.h