aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/leon.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/leon.h')
-rw-r--r--arch/sparc/include/asm/leon.h5
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
317struct device_node; 317struct device_node;
318struct task_struct;
318extern unsigned int leon_build_device_irq(unsigned int real_irq, 319extern 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);
344extern void leon_clear_profile_irq(int cpu); 345extern void leon_clear_profile_irq(int cpu);
345extern void leon_smp_done(void); 346extern void leon_smp_done(void);
346extern void leon_boot_cpus(void); 347extern void leon_boot_cpus(void);
347extern int leon_boot_one_cpu(int i); 348extern int leon_boot_one_cpu(int i, struct task_struct *);
348void leon_init_smp(void); 349void leon_init_smp(void);
349extern void cpu_idle(void); 350extern void cpu_idle(void);
350extern void init_IRQ(void); 351extern 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) */