Thread (13 messages) 13 messages, 2 authors, 2016-05-03

Re: [RFC 3/7] powerpc/mm: Define TOP_ZONE as a constant

From: Balbir Singh <bsingharora@gmail.com>
Date: 2016-05-03 08:12:41


On 03/05/16 16:29, Anshuman Khandual wrote:
From: Oliver O'Halloran <oohall@gmail.com>

The zone that contains the top of the memory will be either ZONE_NORMAL
or ZONE_HIGHMEM depending on the kernel config. There are two functions
in there which require this information and both of them use an #ifdef
to set a local variable (top_zone). This is a little nuts, so lets just
make it a constant.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
---
Looks good
Reviewed-by: Balbir Singh <bsingharora@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help