From: Sukadev Bhattiprolu Date: Fri, 11 May 2007 05:23:00 +0000 (-0700) Subject: statically initialize struct pid for swapper X-Git-Tag: v2.6.22-rc1~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=820e45db2380eb1545fa2bc5d34b8b2f2933faeb;p=pandora-kernel.git statically initialize struct pid for swapper Statically initialize a struct pid for the swapper process (pid_t == 0) and attach it to init_task. This is needed so task_pid(), task_pgrp() and task_session() interfaces work on the swapper process also. Signed-off-by: Sukadev Bhattiprolu Cc: Cedric Le Goater Cc: Dave Hansen Cc: Serge Hallyn Cc: Eric Biederman Cc: Herbert Poetzl Cc: Acked-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed