Pavel Emelyanov ba25f9dcc4 Use helpers to obtain task pid in printks
The task_struct->pid member is going to be deprecated, so start
using the helpers (task_pid_nr/task_pid_vnr/task_pid_nr_ns) in
the kernel.

The first thing to start with is the pid, printed to dmesg - in
this case we may safely use task_pid_nr(). Besides, printks produce
more (much more) than a half of all the explicit pid usage.

[akpm@linux-foundation.org: git-drm went and changed lots of stuff]
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Dave Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-19 11:53:43 -07:00
..
2007-07-10 22:16:43 -07:00
2007-10-10 17:30:18 -07:00
2007-10-10 16:53:11 -07:00
2007-07-31 02:28:27 -07:00
2006-12-02 21:22:55 -08:00
2007-10-10 16:53:56 -07:00
2005-08-29 15:32:25 -07:00
2007-07-10 22:15:41 -07:00
2005-04-16 15:20:36 -07:00
2007-10-10 16:51:28 -07:00
2007-10-10 16:54:48 -07:00
2005-04-16 15:20:36 -07:00
2007-10-15 12:26:42 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-22 07:57:21 -03:00
2006-03-20 22:59:36 -08:00
2005-08-29 16:01:32 -07:00
2005-08-29 15:32:25 -07:00
2007-10-07 23:44:17 -07:00
2007-07-10 22:19:04 -07:00
2007-10-10 16:51:28 -07:00
2007-10-10 16:52:13 -07:00
2007-06-07 13:40:50 -07:00
2007-10-10 16:47:46 -07:00