Paul Mackerras [off-list ref] writes:
On Mon, Jul 30, 2012 at 04:52:13PM +0530, Aneesh Kumar K.V wrote:
quoted
From: "Aneesh Kumar K.V" <redacted>
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 <redacted>
Reviewed-by: Paul Mackerras <redacted>
but you might like to change:
quoted
+#define SLICE_MASK_SIZE (PGTABLE_RANG >> 43)
to have PGTABLE_RANGE rather than PGTABLE_RANG.
Updated
Thanks,
-aneesh