projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/amdgpu: set adev->num_vmhubs for gmc6,7,8
[linux-2.6-block.git]
/
lib
/
test_meminit.c
diff --git
a/lib/test_meminit.c
b/lib/test_meminit.c
index 62d19f270cad4c75b9582abb5397e987c0aaca1c..9729f271d15041ac1930eb85922b81ba094a574f 100644
(file)
--- a/
lib/test_meminit.c
+++ b/
lib/test_meminit.c
@@
-222,7
+222,7
@@
static int __init do_kmem_cache_size(size_t size, bool want_ctor,
* Copy the buffer to check that it's not wiped on
* free().
*/
- buf_copy = kmalloc(size, GFP_
KERNEL
);
+ buf_copy = kmalloc(size, GFP_
ATOMIC
);
if (buf_copy)
memcpy(buf_copy, buf, size);