[v2,1/2] powerpc/mm: define TOP_ZONE as a constant
mpe at ellerman.id.au
Wed May 11 07:48:37 AEST 2016
On Thu, 2016-05-05 at 07:54:08 UTC, Oliver O'Halloran 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
> 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>
> Cc: linux-mm at kvack.org
Applied to powerpc next, thanks.
More information about the Linuxppc-dev