commit | a244a957ab15ddbeccf4018ef4b3ac8f5fd1566d | [log] [tgz] |
---|---|---|
author | Milton Miller <miltonm@bga.com> | Fri Oct 10 01:56:33 2008 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Oct 13 16:24:18 2008 +1100 |
tree | 1cdfb55a37e5b8ef542fcd2108d17dd58c739e7f | |
parent | 188bdddd243e6872608099bd1142a03b70571132 [diff] |
powerpc/xics: Initialization code cleanups We only need to check the ibm,interrupt-server#-size property once, not once per global server and thread. We can use !CONFIG_SMP cpu masks and hard_smp_processor_id() to avoid an ifdef. Put the node when breaking out of the loop on lpar systems. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>