aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/kmemleak.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/kmemleak.c b/mm/kmemleak.c
index 4ea4510e2996..a6175180d188 100644
--- a/mm/kmemleak.c
+++ b/mm/kmemleak.c
@@ -833,7 +833,7 @@ static void early_alloc(struct early_log *log)
833 */ 833 */
834 rcu_read_lock(); 834 rcu_read_lock();
835 object = create_object((unsigned long)log->ptr, log->size, 835 object = create_object((unsigned long)log->ptr, log->size,
836 log->min_count, GFP_KERNEL); 836 log->min_count, GFP_ATOMIC);
837 spin_lock_irqsave(&object->lock, flags); 837 spin_lock_irqsave(&object->lock, flags);
838 for (i = 0; i < log->trace_len; i++) 838 for (i = 0; i < log->trace_len; i++)
839 object->trace[i] = log->trace[i]; 839 object->trace[i] = log->trace[i];