WSL2-Linux-Kernel/drivers/mtd/ubi
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
..
Kconfig UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Kconfig.debug UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Makefile UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
build.c UBI: do not use vmalloc on I/O path 2007-10-14 13:10:21 +03:00
cdev.c UBI: fix compile warning 2007-07-18 16:59:17 +03:00
debug.c UBI: use byte hexdump 2007-10-14 13:10:21 +03:00
debug.h UBI: use linux print_hex_dump(), not home-grown one 2007-10-14 13:10:20 +03:00
eba.c Slab API: remove useless ctor parameter and reorder parameters 2007-10-17 08:42:45 -07:00
gluebi.c UBI: set correct gluebi device size 2007-07-18 16:52:51 +03:00
io.c UBI: use byte hexdump 2007-10-14 13:10:21 +03:00
kapi.c UBI: don't use array index before testing if it is negative 2007-10-14 13:10:20 +03:00
misc.c UBI: use vmalloc for large buffers 2007-07-18 16:53:08 +03:00
scan.c Merge branch 'master' of git://git.infradead.org/~dedekind/ubi-2.6 2007-10-14 14:29:00 +01:00
scan.h UBI: do not use vmalloc on I/O path 2007-10-14 13:10:21 +03:00
ubi.h UBI: fix atomic LEB change problems 2007-10-14 13:10:21 +03:00
upd.c UBI: use vmalloc for large buffers 2007-07-18 16:53:08 +03:00
vmt.c UBI: fix sparse warnings 2007-10-14 13:10:20 +03:00
vtbl.c UBI: do not use vmalloc on I/O path 2007-10-14 13:10:21 +03:00
wl.c Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00