diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-21 19:55:31 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-30 13:35:55 -0400 |
commit | 2aa3a7f8660355c3dddead17e224545c1a3d5a5f (patch) | |
tree | d106fcaeb6b66e09591cf8ec28c836be93f4d837 /arch | |
parent | a4d94ff8aa864c05b33c2de1f8c5d0176d7a4b63 (diff) | |
download | op-kernel-dev-2aa3a7f8660355c3dddead17e224545c1a3d5a5f.zip op-kernel-dev-2aa3a7f8660355c3dddead17e224545c1a3d5a5f.tar.gz |
preparation for generic kernel_thread()
Let architectures select GENERIC_KERNEL_THREAD and have their copy_thread()
treat NULL regs as "it came from kernel_thread(), sp argument contains
the function new thread will be calling and stack_size - the argument for
that function". Switching the architectures begins shortly...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 72f2fa1..d397e11 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -258,6 +258,9 @@ config ARCH_WANT_OLD_COMPAT_IPC select ARCH_WANT_COMPAT_IPC_PARSE_VERSION bool +config GENERIC_KERNEL_THREAD + bool + config HAVE_ARCH_SECCOMP_FILTER bool help |