2015-03-20 08:49:02 +00:00
|
|
|
--- a/arch/mips/cavium-octeon/setup.c
|
|
|
|
+++ b/arch/mips/cavium-octeon/setup.c
|
2015-05-21 19:32:46 +00:00
|
|
|
@@ -50,6 +50,9 @@ extern void pci_console_init(const char
|
|
|
|
|
2015-03-20 08:49:02 +00:00
|
|
|
static unsigned long long MAX_MEMORY = 512ull << 20;
|
2015-05-21 19:32:46 +00:00
|
|
|
|
2015-03-20 08:49:02 +00:00
|
|
|
+DEFINE_SEMAPHORE(octeon_bootbus_sem);
|
|
|
|
+EXPORT_SYMBOL(octeon_bootbus_sem);
|
|
|
|
+
|
|
|
|
struct octeon_boot_descriptor *octeon_boot_desc_ptr;
|
2015-05-21 19:32:46 +00:00
|
|
|
|
2015-03-20 08:49:02 +00:00
|
|
|
struct cvmx_bootinfo *octeon_bootinfo;
|
|
|
|
--- a/arch/mips/include/asm/octeon/octeon.h
|
|
|
|
+++ b/arch/mips/include/asm/octeon/octeon.h
|
2015-05-21 19:32:46 +00:00
|
|
|
@@ -252,4 +252,6 @@ void octeon_irq_set_ip4_handler(octeon_i
|
|
|
|
|
2015-03-20 08:49:02 +00:00
|
|
|
extern void octeon_fixup_irqs(void);
|
2015-05-21 19:32:46 +00:00
|
|
|
|
2015-03-20 08:49:02 +00:00
|
|
|
+extern struct semaphore octeon_bootbus_sem;
|
|
|
|
+
|
|
|
|
#endif /* __ASM_OCTEON_OCTEON_H */
|