kernel-ark/drivers
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
..
acorn/char unicode diacritics support 2007-10-17 08:42:52 -07:00
acpi get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
amba
ata Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev 2007-10-18 15:08:35 -07:00
atm
auxdisplay
base sparse pointer use of zero as null 2007-10-18 14:37:31 -07:00
block Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
bluetooth
cdrom Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
char Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
clocksource
connector
cpufreq
crypto
dca
dio
dma I/OAT: Add completion callback for async_tx interface use 2007-10-18 14:37:32 -07:00
edac define global BIT macro 2007-10-19 11:53:42 -07:00
eisa
fc4
firewire
firmware define global BIT macro 2007-10-19 11:53:42 -07:00
hid Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
hwmon get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
i2c i2c-pxa, rename BIT macro to PXA_BIT 2007-10-19 11:53:42 -07:00
ide remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
ieee1394
infiniband Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
input define global BIT macro 2007-10-19 11:53:42 -07:00
isdn isdn/sc: remove unused REQUEST_IRQ and unnecessary header file 2007-10-19 11:53:34 -07:00
kvm
leds
lguest Merge branch 'xen-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen 2007-10-17 11:10:11 -07:00
macintosh get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
mca
md Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
media Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
message I2O: Fix "defined but not used" build warnings 2007-10-17 08:42:56 -07:00
mfd
misc get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
mmc mmc: at91_mci: cleanup: use MCI_ERRORS 2007-10-17 21:35:10 +02:00
mtd Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
net Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
nubus
of [SPARC/64]: Consolidate of_register_driver 2007-10-17 21:17:42 -07:00
oprofile
parisc
parport sysctl: parport remove binary paths 2007-10-18 14:37:23 -07:00
pci
pcmcia remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
pnp PNP: add debug message for adding new device 2007-10-17 08:43:04 -07:00
power Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
ps3 remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
rapidio
rtc remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
s390 remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
sbus [SPARC] Videopix Frame Grabber: Convert device_lock_sem to mutex 2007-10-17 19:40:31 -07:00
scsi Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
serial amba-pl011, rename BIT macro 2007-10-19 11:53:42 -07:00
sh
sn
spi Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
ssb
tc lk201: remove obsolete driver 2007-10-17 08:42:57 -07:00
telephony
uio
usb Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
video define global BIT macro 2007-10-19 11:53:42 -07:00
w1 Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
watchdog remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
xen Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
zorro
Kconfig mv watchdog tree under drivers 2007-10-18 10:39:03 +00:00
Makefile mv watchdog tree under drivers 2007-10-18 10:39:03 +00:00