Commit 868accb7 authored by Stephen Rothwell's avatar Stephen Rothwell

powerpc: have only one definition of __irq_offset_value

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
parent d9ae2bad
...@@ -71,6 +71,11 @@ ...@@ -71,6 +71,11 @@
#include <asm/paca.h> #include <asm/paca.h>
#endif #endif
int __irq_offset_value;
#ifdef CONFIG_PPC32
EXPORT_SYMBOL(__irq_offset_value);
#endif
static int ppc_spurious_interrupts; static int ppc_spurious_interrupts;
#if defined(CONFIG_PPC_ISERIES) && defined(CONFIG_SMP) #if defined(CONFIG_PPC_ISERIES) && defined(CONFIG_SMP)
...@@ -98,7 +103,6 @@ extern atomic_t ipi_sent; ...@@ -98,7 +103,6 @@ extern atomic_t ipi_sent;
EXPORT_SYMBOL(irq_desc); EXPORT_SYMBOL(irq_desc);
int distribute_irqs = 1; int distribute_irqs = 1;
int __irq_offset_value;
u64 ppc64_interrupt_controller; u64 ppc64_interrupt_controller;
#endif /* CONFIG_PPC64 */ #endif /* CONFIG_PPC64 */
......
...@@ -57,10 +57,6 @@ extern void power4_idle(void); ...@@ -57,10 +57,6 @@ extern void power4_idle(void);
boot_infos_t *boot_infos; boot_infos_t *boot_infos;
struct ide_machdep_calls ppc_ide_md; struct ide_machdep_calls ppc_ide_md;
/* XXX should go elsewhere */
int __irq_offset_value;
EXPORT_SYMBOL(__irq_offset_value);
int boot_cpuid; int boot_cpuid;
EXPORT_SYMBOL_GPL(boot_cpuid); EXPORT_SYMBOL_GPL(boot_cpuid);
int boot_cpuid_phys; int boot_cpuid_phys;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment