]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc: have only one definition of __irq_offset_value
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 10 Nov 2005 07:38:46 +0000 (18:38 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 14 Nov 2005 03:44:33 +0000 (14:44 +1100)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
arch/powerpc/kernel/irq.c
arch/powerpc/kernel/setup_32.c

index 5e5ed4441c69765ab005582ce4b264a9d0455b39..5a71ed9612fec6e90ff3f81bad91e2b501e16ecf 100644 (file)
 #include <asm/paca.h>
 #endif
 
+int __irq_offset_value;
+#ifdef CONFIG_PPC32
+EXPORT_SYMBOL(__irq_offset_value);
+#endif
+
 static int ppc_spurious_interrupts;
 
 #if defined(CONFIG_PPC_ISERIES) && defined(CONFIG_SMP)
@@ -98,7 +103,6 @@ extern atomic_t ipi_sent;
 EXPORT_SYMBOL(irq_desc);
 
 int distribute_irqs = 1;
-int __irq_offset_value;
 u64 ppc64_interrupt_controller;
 #endif /* CONFIG_PPC64 */
 
index c98cfcc9cd9a9183f5dbe9f3b7fe4c527642ace1..e5694335bf10ef63f1b0b7d4988b623c085b252a 100644 (file)
@@ -57,10 +57,6 @@ extern void power4_idle(void);
 boot_infos_t *boot_infos;
 struct ide_machdep_calls ppc_ide_md;
 
-/* XXX should go elsewhere */
-int __irq_offset_value;
-EXPORT_SYMBOL(__irq_offset_value);
-
 int boot_cpuid;
 EXPORT_SYMBOL_GPL(boot_cpuid);
 int boot_cpuid_phys;