]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Syscall hooks for context tracking subsystem
authorLi Zhong <zhong@linux.vnet.ibm.com>
Mon, 13 May 2013 16:16:40 +0000 (16:16 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 14 May 2013 06:00:19 +0000 (16:00 +1000)
commit5dcd45673ddd5a807c516915c49c9e7793e05ff3
tree05db211a20ad42597c947f3612b402e581a0c858
parentc0d1cdbfb1c1a768b0c51db89e215c9bf48fa3ce
powerpc: Syscall hooks for context tracking subsystem

This is the syscall slow path hooks for context tracking subsystem,
corresponding to
[PATCH] x86: Syscall hooks for userspace RCU extended QS
  commit af8d59966c182370cc80f2660777253f94257d79

TIF_MEMDIE is moved to the second 16-bits (with value 17), as it seems there
is no asm code using it. TIF_NOHZ is added to _TIF_SYCALL_T_OR_A, so it is
better for it to be in the same 16 bits with others in the group, so in the
asm code, andi. with this group could work.

Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/thread_info.h
arch/powerpc/kernel/ptrace.c