]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ftrace: use init_struct_pid as swapper pid
authorSteven Rostedt <srostedt@redhat.com>
Fri, 5 Dec 2008 04:30:56 +0000 (23:30 -0500)
committerIngo Molnar <mingo@elte.hu>
Fri, 5 Dec 2008 13:51:29 +0000 (14:51 +0100)
commit21bbecdaaef3a6acc19905ab88c0587817318870
treed6fd3e222509eb470786ae9c0b1cd9af09f09714
parent21a8c466f99063eeb8567318b4e305eda9015408
ftrace: use init_struct_pid as swapper pid

Impact: clean up

Using (struct pid *)-1 as the pointer for ftrace_swapper_pid is
a little confusing for others. This patch uses the address of the
actual init pid structure instead. This change is only for
clarity. It does not affect the code itself. Hopefully soon the
swapper tasks will all have their own pid structure and then
we can clean up the code a bit more.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ftrace.c