[PATCH -V5 07/13] arch/powerpc: Make some of the PGTABLE_RANGE dependency explicit

Aneesh Kumar K.V aneesh.kumar at linux.vnet.ibm.com
Wed Aug 1 17:45:39 EST 2012


Paul Mackerras <paulus at samba.org> writes:

> On Mon, Jul 30, 2012 at 04:52:13PM +0530, Aneesh Kumar K.V wrote:
>> From: "Aneesh Kumar K.V" <aneesh.kumar at linux.vnet.ibm.com>
>> 
>> slice array size and slice mask size depend on PGTABLE_RANGE. We
>> can't directly include pgtable.h in these header because there is
>> a circular dependency. So add compile time check for these values.
>> 
>> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
>
> Reviewed-by: Paul Mackerras <paulus at samba.org>
>
> but you might like to change:
>
>> +#define SLICE_MASK_SIZE (PGTABLE_RANG >> 43)
>
> to have PGTABLE_RANGE rather than PGTABLE_RANG.

Updated

Thanks,
-aneesh



More information about the Linuxppc-dev mailing list