We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ae573c commit 3c9e499Copy full SHA for 3c9e499
drivers/cpufreq/cpufreq_stats.c
@@ -424,7 +424,7 @@ static void add_all_freq_table(unsigned int freq)
424
unsigned int size;
425
size = sizeof(unsigned int) * (all_freq_table->table_size + 1);
426
all_freq_table->freq_table = krealloc(all_freq_table->freq_table,
427
- size, GFP_KERNEL);
+ size, GFP_ATOMIC);
428
if (IS_ERR(all_freq_table->freq_table)) {
429
pr_warn("Could not reallocate memory for freq_table\n");
430
all_freq_table->freq_table = NULL;
0 commit comments