projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use helpers to obtain task pid in printks
[profile/ivi/kernel-adaptation-intel-automotive.git]
/
drivers
/
char
/
drm
/
i830_dma.c
diff --git
a/drivers/char/drm/i830_dma.c
b/drivers/char/drm/i830_dma.c
index
43a1f78
..
69a363e
100644
(file)
--- a/
drivers/char/drm/i830_dma.c
+++ b/
drivers/char/drm/i830_dma.c
@@
-1409,7
+1409,7
@@
static int i830_getbuf(struct drm_device *dev, void *data,
retcode = i830_dma_get_buffer(dev, d, file_priv);
DRM_DEBUG("i830_dma: %d returning %d, granted = %d\n",
-
current->pid
, retcode, d->granted);
+
task_pid_nr(current)
, retcode, d->granted);
sarea_priv->last_dispatch = (int)hw_status[5];