powerpc/pseries: Fix xics build without CONFIG_SMP
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 1 Feb 2010 02:32:41 +0000 (13:32 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 1 Feb 2010 02:32:41 +0000 (13:32 +1100)
commitbf647fafda6515adf5ba84249fd08f64b5a9ec21
tree35c877861660a9260e4f461a5495ba895806d1b3
parente90c52e03b07a77675aa1584141846d3c221ea67
powerpc/pseries: Fix xics build without CONFIG_SMP

desc->affinity doesn't exit in that case. Let's use a macro for
the UP variant of get_irq_server(), it's the easiest way, avoids
evaluating arguments.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/xics.c