diff options
author | David Hildenbrand <david@redhat.com> | 2021-01-26 21:14:20 +0300 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2021-02-27 11:35:09 +0300 |
commit | 5d3f410fa9f35bd6378109a08b143d1d91ace588 (patch) | |
tree | ece11bfce342787f46ac2aa79f70f61dccf2953e /arch/csky/include/asm/segment.h | |
parent | c47e1a1cb6d473172d4d9c24056960bd542dc56c (diff) | |
download | linux-5d3f410fa9f35bd6378109a08b143d1d91ace588.tar.xz |
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/include/asm/segment.h')
0 files changed, 0 insertions, 0 deletions