projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'omap-for-v3.19/gic-regression-v2' of git://git.kernel.org/pub/scm/linux...
[cascardo/linux.git]
/
drivers
/
gpu
/
drm
/
amd
/
amdkfd
/
kfd_pasid.c
diff --git
a/drivers/gpu/drm/amd/amdkfd/kfd_pasid.c
b/drivers/gpu/drm/amd/amdkfd/kfd_pasid.c
index
71699ad
..
4c25ef5
100644
(file)
--- a/
drivers/gpu/drm/amd/amdkfd/kfd_pasid.c
+++ b/
drivers/gpu/drm/amd/amdkfd/kfd_pasid.c
@@
-32,7
+32,7
@@
int kfd_pasid_init(void)
{
pasid_limit = max_num_of_processes;
- pasid_bitmap = k
zalloc(BITS_TO_LONGS(pasid_limit
), GFP_KERNEL);
+ pasid_bitmap = k
calloc(BITS_TO_LONGS(pasid_limit), sizeof(long
), GFP_KERNEL);
if (!pasid_bitmap)
return -ENOMEM;