diff options
author | David Hildenbrand <david@redhat.com> | 2021-01-26 19:14:20 +0100 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2021-02-27 09:35:09 +0100 |
commit | 5d3f410fa9f35bd6378109a08b143d1d91ace588 (patch) | |
tree | ece11bfce342787f46ac2aa79f70f61dccf2953e /arch/csky/abiv1/inc/abi/entry.h | |
parent | csky: Fixup pfn_valid error with wrong max_mapnr (diff) | |
download | linux-5d3f410fa9f35bd6378109a08b143d1d91ace588.tar.xz linux-5d3f410fa9f35bd6378109a08b143d1d91ace588.zip |
csky: use free_initmem_default() in free_initmem()
The existing code is essentially
free_initmem_default()->free_reserved_area() without poisoning.
Note that existing code missed to update the managed page count of the
zone.
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Wei Yang <richard.weiyang@linux.alibaba.com>
Tested-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Guo Ren <guoren@kernel.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'arch/csky/abiv1/inc/abi/entry.h')
0 files changed, 0 insertions, 0 deletions