From: Milton Miller Date: Fri, 10 Oct 2008 01:56:33 +0000 (+0000) Subject: powerpc/xics: Initialization code cleanups X-Git-Tag: v2.6.28-rc1~569^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a244a957ab15ddbeccf4018ef4b3ac8f5fd1566d;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed