On 03/05/16 16:29, Anshuman Khandual wrote: > From: Oliver O'Halloran <ooh...@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 <ooh...@gmail.com> > --- Looks good Reviewed-by: Balbir Singh <bsinghar...@gmail.com> _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
- [RFC 0/7] Enable ZONE_DEVICE on POWER Anshuman Khandual
- [RFC 1/7] powerpc/mm: Make vmemmap_populate accommo... Anshuman Khandual
- Re: [RFC 1/7] powerpc/mm: Make vmemmap_populate... Balbir Singh
- Re: [RFC 1/7] powerpc/mm: Make vmemmap_popu... Anshuman Khandual
- [RFC 3/7] powerpc/mm: Define TOP_ZONE as a constant Anshuman Khandual
- Re: [RFC 3/7] powerpc/mm: Define TOP_ZONE as a ... Balbir Singh
- [RFC 2/7] powerpc/mm: Enable support for ZONE_DEVIC... Anshuman Khandual
- [RFC 4/7] powerpc/mm: Set MAX_ZONE_PFN to 0 for all... Anshuman Khandual
- Re: [RFC 4/7] powerpc/mm: Set MAX_ZONE_PFN to 0... Balbir Singh
- [RFC 5/7] mm/memremap: Export pfn_first, pfn_end, f... Anshuman Khandual
- [RFC 6/7] TEST: Reserve system memory to be emulate... Anshuman Khandual
- [RFC 7/7] TEST: Driver to test device memory throug... Anshuman Khandual
- Re: [RFC 7/7] TEST: Driver to test device memor... Balbir Singh