diff options
Diffstat (limited to 'arch/sparc/include/asm/leon.h')
-rw-r--r-- | arch/sparc/include/asm/leon.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sparc/include/asm/leon.h b/arch/sparc/include/asm/leon.h index a4e457f003ed..6a1585b52c49 100644 --- a/arch/sparc/include/asm/leon.h +++ b/arch/sparc/include/asm/leon.h | |||
@@ -315,6 +315,7 @@ struct leon2_cacheregs { | |||
315 | #include <linux/interrupt.h> | 315 | #include <linux/interrupt.h> |
316 | 316 | ||
317 | struct device_node; | 317 | struct device_node; |
318 | struct task_struct; | ||
318 | extern unsigned int leon_build_device_irq(unsigned int real_irq, | 319 | extern unsigned int leon_build_device_irq(unsigned int real_irq, |
319 | irq_flow_handler_t flow_handler, | 320 | irq_flow_handler_t flow_handler, |
320 | const char *name, int do_ack); | 321 | const char *name, int do_ack); |
@@ -344,7 +345,7 @@ extern int leon_smp_nrcpus(void); | |||
344 | extern void leon_clear_profile_irq(int cpu); | 345 | extern void leon_clear_profile_irq(int cpu); |
345 | extern void leon_smp_done(void); | 346 | extern void leon_smp_done(void); |
346 | extern void leon_boot_cpus(void); | 347 | extern void leon_boot_cpus(void); |
347 | extern int leon_boot_one_cpu(int i); | 348 | extern int leon_boot_one_cpu(int i, struct task_struct *); |
348 | void leon_init_smp(void); | 349 | void leon_init_smp(void); |
349 | extern void cpu_idle(void); | 350 | extern void cpu_idle(void); |
350 | extern void init_IRQ(void); | 351 | extern void init_IRQ(void); |
@@ -380,7 +381,7 @@ extern int leon_ipi_irq; | |||
380 | #define init_leon() do {} while (0) | 381 | #define init_leon() do {} while (0) |
381 | #define leon_smp_done() do {} while (0) | 382 | #define leon_smp_done() do {} while (0) |
382 | #define leon_boot_cpus() do {} while (0) | 383 | #define leon_boot_cpus() do {} while (0) |
383 | #define leon_boot_one_cpu(i) 1 | 384 | #define leon_boot_one_cpu(i, t) 1 |
384 | #define leon_init_smp() do {} while (0) | 385 | #define leon_init_smp() do {} while (0) |
385 | 386 | ||
386 | #endif /* !defined(CONFIG_SPARC_LEON) */ | 387 | #endif /* !defined(CONFIG_SPARC_LEON) */ |