Thread (27 messages) flat view 27 messages, 2 authors, 2012-08-01

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

From: Aneesh Kumar K.V <hidden>
Date: 2012-08-01 07:46:00

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help