linux/arch
Al Viro a74fb73c12 infrastructure for saner ret_from_kernel_thread semantics
* allow kernel_execve() leave the actual return to userland to
caller (selected by CONFIG_GENERIC_KERNEL_EXECVE).  Callers
updated accordingly.
* architecture that does select GENERIC_KERNEL_EXECVE in its
Kconfig should have its ret_from_kernel_thread() do this:
	call schedule_tail
	call the callback left for it by copy_thread(); if it ever
returns, that's because it has just done successful kernel_execve()
	jump to return from syscall
IOW, its only difference from ret_from_fork() is that it does call the
callback.
* such an architecture should also get rid of ret_from_kernel_execve()
and __ARCH_WANT_KERNEL_EXECVE

This is the last part of infrastructure patches in that area - from
that point on work on different architectures can live independently.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-10-12 13:35:07 -04:00
..
alpha alpha: get rid of switch_stack argument of do_work_pending() 2012-10-11 21:40:13 -04:00
arm Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
avr32 Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
blackfin Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
c6x sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
cris sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
frv Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
h8300 Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
hexagon Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
ia64 sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
m32r Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
m68k m68k: switch to generic sys_execve()/kernel_execve() 2012-10-01 00:44:44 -04:00
microblaze microblaze: don't bother with SIGTRAP in setup_rt_frame() 2012-10-01 09:58:17 -04:00
mips sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
mn10300 mn10300: don't bother with SIGTRAP in setup_frame() 2012-10-01 09:58:16 -04:00
openrisc sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
parisc parisc: decide whether to go to slow path (tracesys) based on thread flags 2012-10-01 09:58:14 -04:00
powerpc ppc: eeh_event should just use kthread_run() 2012-10-11 21:40:31 -04:00
s390 sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
score sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
sh Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
sparc sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
tile tile: don't bother with SIGTRAP in setup_frame 2012-10-01 09:58:17 -04:00
um sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
unicore32 Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
x86 x86: get rid of duplicate code in case of CONFIG_VM86 2012-10-01 09:58:15 -04:00
xtensa Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
.gitignore
Kconfig infrastructure for saner ret_from_kernel_thread semantics 2012-10-12 13:35:07 -04:00