OpenCloudOS-Kernel/drivers/scsi/libsas
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 [SCSI] libsas: fix build dependencies on libata 2007-07-31 10:40:48 -05:00
Makefile [SCSI] libsas: make ATA functions selectable by a config option 2007-07-22 13:23:13 -05:00
sas_ata.c [libata] Remove ->port_disable() hook 2007-10-12 14:55:35 -04:00
sas_discover.c Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
sas_dump.c [SCSI] libsas: Remove PCI dependencies 2007-07-26 09:42:43 -04:00
sas_dump.h [SCSI] aic94xx: new driver 2006-08-29 09:52:29 -05:00
sas_event.c [SCSI] libsas: Add SAS_HA state flags to avoid queueing events while unloading 2007-01-13 16:21:53 -06:00
sas_expander.c [SCSI] libsas: Fix potential NULL dereference in sas_smp_get_phy_events() 2007-07-28 10:58:28 -04:00
sas_init.c Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2007-07-22 11:36:49 -07:00
sas_internal.h [SCSI] sas_ata: Implement sas_task_abort for ATA devices 2007-07-18 11:16:03 -05:00
sas_phy.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
sas_port.c [SCSI] libsas: Fix incorrect sas_port deformation in sas_form_port 2007-01-27 10:04:58 -06:00
sas_scsi_host.c [SCSI] sas_ata: Implement sas_task_abort for ATA devices 2007-07-18 11:16:03 -05:00