diff options
Diffstat (limited to 'mm/percpu.c')
-rw-r--r-- | mm/percpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/percpu.c b/mm/percpu.c index ac5c626b44a9..bb4be7435ce3 100644 --- a/mm/percpu.c +++ b/mm/percpu.c | |||
@@ -1895,6 +1895,8 @@ void __init setup_per_cpu_areas(void) | |||
1895 | fc = __alloc_bootmem(unit_size, PAGE_SIZE, __pa(MAX_DMA_ADDRESS)); | 1895 | fc = __alloc_bootmem(unit_size, PAGE_SIZE, __pa(MAX_DMA_ADDRESS)); |
1896 | if (!ai || !fc) | 1896 | if (!ai || !fc) |
1897 | panic("Failed to allocate memory for percpu areas."); | 1897 | panic("Failed to allocate memory for percpu areas."); |
1898 | /* kmemleak tracks the percpu allocations separately */ | ||
1899 | kmemleak_free(fc); | ||
1898 | 1900 | ||
1899 | ai->dyn_size = unit_size; | 1901 | ai->dyn_size = unit_size; |
1900 | ai->unit_size = unit_size; | 1902 | ai->unit_size = unit_size; |