commit | dd0b52c47a2d71b7960c9a5ce7d51f17ed03d9f5 | [log] [tgz] |
---|---|---|
author | Oliver O'Halloran <oohall@gmail.com> | Thu May 05 17:54:08 2016 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Wed May 11 21:54:08 2016 +1000 |
tree | f9f9f0c7c1f0699056de5b8a4d5818afb8c400a7 | |
parent | 66707836062db62756b395d1fb16ab02ff162862 [diff] |
powerpc/mm: define TOP_ZONE as a constant 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@gmail.com> Cc: linux-mm@kvack.org Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>