aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/manage.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2011-01-29 07:24:34 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-02-06 21:05:59 -0500
commit5de1669910a59025e6cf24baef242a6c264d5752 (patch)
treeb85d2785c50a5c3edb1babde904aba0c33618530 /kernel/irq/manage.c
parentcd9d6cc7266ca7f3ad9bacb3262a0fda38f13c6f (diff)
powerpc/numa: Only use active VPHN count fields
VPHN supports up to 8 distance fields but the number of entries in ibm,associativity-reference-points signifies how many are in use. Don't look at all the VPHN counts, only distance_ref_points_depth worth. Since we already cap our distance metrics at MAX_DISTANCE_REF_POINTS, use that to size the VPHN arrays and add a BUILD_BUG_ON to avoid it growing larger than the VPHN maximum of 8. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'kernel/irq/manage.c')
0 files changed, 0 insertions, 0 deletions