diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-01-31 21:32:41 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-01-31 21:32:41 -0500 |
commit | bf647fafda6515adf5ba84249fd08f64b5a9ec21 (patch) | |
tree | 35c877861660a9260e4f461a5495ba895806d1b3 /arch/powerpc | |
parent | e90c52e03b07a77675aa1584141846d3c221ea67 (diff) |
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/platforms/pseries/xics.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/powerpc/platforms/pseries/xics.c b/arch/powerpc/platforms/pseries/xics.c index d80f193cd871..1ee66db003be 100644 --- a/arch/powerpc/platforms/pseries/xics.c +++ b/arch/powerpc/platforms/pseries/xics.c | |||
@@ -191,11 +191,7 @@ static int get_irq_server(unsigned int virq, cpumask_t cpumask, | |||
191 | return default_server; | 191 | return default_server; |
192 | } | 192 | } |
193 | #else | 193 | #else |
194 | static int get_irq_server(unsigned int virq, cpumask_t cpumask, | 194 | #define get_irq_server(virq, cpumask, strict_check) (default_server) |
195 | unsigned int strict_check) | ||
196 | { | ||
197 | return default_server; | ||
198 | } | ||
199 | #endif | 195 | #endif |
200 | 196 | ||
201 | static void xics_unmask_irq(unsigned int virq) | 197 | static void xics_unmask_irq(unsigned int virq) |