diff options
Diffstat (limited to 'drivers/misc/tegra-profiler/mmap.c')
-rw-r--r-- | drivers/misc/tegra-profiler/mmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/tegra-profiler/mmap.c b/drivers/misc/tegra-profiler/mmap.c index 9e3e05f305a5..2347047d9873 100644 --- a/drivers/misc/tegra-profiler/mmap.c +++ b/drivers/misc/tegra-profiler/mmap.c @@ -76,7 +76,7 @@ void quadd_process_mmap(struct vm_area_struct *vma, pid_t pid) if (!(vma->vm_flags & VM_EXEC)) return; - tmp_buf = kzalloc(PATH_MAX + sizeof(u64), GFP_KERNEL); + tmp_buf = kzalloc(PATH_MAX + sizeof(u64), GFP_ATOMIC); if (!tmp_buf) return; @@ -164,7 +164,7 @@ int quadd_get_current_mmap(pid_t pid) pr_info("Get mapped memory objects\n"); - tmp_buf = kzalloc(PATH_MAX + sizeof(u64), GFP_KERNEL); + tmp_buf = kzalloc(PATH_MAX + sizeof(u64), GFP_ATOMIC); if (!tmp_buf) return -ENOMEM; |