[PATCH 1/2] powerpc/mm: define TOP_ZONE as a constant
Balbir Singh
bsingharora at gmail.com
Thu May 5 17:04:52 AEST 2016
On Thu, May 5, 2016 at 4:24 PM, Oliver O'Halloran <oohall at gmail.com> wrote:
> The zone that contains the top of memory will be either ZONE_NORMAL
> or ZONE_HIGHMEM depending on the kernel config. There are two functions
> in that require this information and both of them use an #ifdef to set
> a local variable (top_zone). This is a little silly so lets just make it
> a constant.
>
> Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
> ---
I reviewed the previous version and there are no changes hence
Reviewed-by: Balbir Singh <bsingharora at gmail.com>
More information about the Linuxppc-dev
mailing list