diff options
| author | Nicolas Pitre <[email protected]> | 2017-10-03 22:29:49 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2017-10-04 13:53:32 +0000 |
| commit | 438a50618095061920d3a30d4c5ca1ef2e0ff860 (patch) | |
| tree | 71fd9e344473b605be6c9eac1cc6dab957dca3d2 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | Merge branch 'for-4.14-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
| download | kernel-438a50618095061920d3a30d4c5ca1ef2e0ff860.tar.gz kernel-438a50618095061920d3a30d4c5ca1ef2e0ff860.zip | |
percpu: don't forget to free the temporary struct pcpu_alloc_info
Unlike the SMP case, the !SMP case does not free the memory for struct
pcpu_alloc_info allocated in setup_per_cpu_areas(). And to give it a
chance of being reused by the page allocator later, align it to a page
boundary just like its size.
Signed-off-by: Nicolas Pitre <[email protected]>
Acked-by: Dennis Zhou <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
