1 diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c
2 index a42110e..01130e9 100644
3 --- a/arch/mips/cavium-octeon/setup.c
4 +++ b/arch/mips/cavium-octeon/setup.c
5 @@ -51,6 +51,9 @@ extern void pci_console_init(const char *arg);
7 static unsigned long long MAX_MEMORY = 512ull << 20;
9 +DEFINE_SEMAPHORE(octeon_bootbus_sem);
10 +EXPORT_SYMBOL(octeon_bootbus_sem);
12 struct octeon_boot_descriptor *octeon_boot_desc_ptr;
14 struct cvmx_bootinfo *octeon_bootinfo;
15 diff --git a/arch/mips/include/asm/octeon/octeon.h b/arch/mips/include/asm/octeon/octeon.h
16 index 0415965..de9f74e 100644
17 --- a/arch/mips/include/asm/octeon/octeon.h
18 +++ b/arch/mips/include/asm/octeon/octeon.h
19 @@ -335,4 +335,6 @@ void octeon_irq_set_ip4_handler(octeon_irq_ip4_handler_t);
21 extern void octeon_fixup_irqs(void);
23 +extern struct semaphore octeon_bootbus_sem;
25 #endif /* __ASM_OCTEON_OCTEON_H */