diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2013-10-16 18:42:28 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2014-01-14 13:19:59 -0500 |
commit | 49b424fedaf88d0fa9913082b8c1ccd012a8a972 (patch) | |
tree | 1a1fac57b578fe828b54b0367df4ed1fd94940b9 /arch/xtensa/include | |
parent | f615136c06a791364f5afa8b8ba965315a6440f1 (diff) |
xtensa: implement CPU hotplug
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/include')
-rw-r--r-- | arch/xtensa/include/asm/irq.h | 1 | ||||
-rw-r--r-- | arch/xtensa/include/asm/smp.h | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/irq.h b/arch/xtensa/include/asm/irq.h index 7d194d462150..f71f88ea7646 100644 --- a/arch/xtensa/include/asm/irq.h +++ b/arch/xtensa/include/asm/irq.h | |||
@@ -45,6 +45,7 @@ static __inline__ int irq_canonicalize(int irq) | |||
45 | struct irqaction; | 45 | struct irqaction; |
46 | struct irq_domain; | 46 | struct irq_domain; |
47 | 47 | ||
48 | void migrate_irqs(void); | ||
48 | int xtensa_irq_domain_xlate(const u32 *intspec, unsigned int intsize, | 49 | int xtensa_irq_domain_xlate(const u32 *intspec, unsigned int intsize, |
49 | unsigned long int_irq, unsigned long ext_irq, | 50 | unsigned long int_irq, unsigned long ext_irq, |
50 | unsigned long *out_hwirq, unsigned int *out_type); | 51 | unsigned long *out_hwirq, unsigned int *out_type); |
diff --git a/arch/xtensa/include/asm/smp.h b/arch/xtensa/include/asm/smp.h index 30ac58cc70df..4e43f5643891 100644 --- a/arch/xtensa/include/asm/smp.h +++ b/arch/xtensa/include/asm/smp.h | |||
@@ -29,6 +29,15 @@ void ipi_init(void); | |||
29 | struct seq_file; | 29 | struct seq_file; |
30 | void show_ipi_list(struct seq_file *p, int prec); | 30 | void show_ipi_list(struct seq_file *p, int prec); |
31 | 31 | ||
32 | #ifdef CONFIG_HOTPLUG_CPU | ||
33 | |||
34 | void __cpu_die(unsigned int cpu); | ||
35 | int __cpu_disable(void); | ||
36 | void cpu_die(void); | ||
37 | void cpu_restart(void); | ||
38 | |||
39 | #endif /* CONFIG_HOTPLUG_CPU */ | ||
40 | |||
32 | #endif /* CONFIG_SMP */ | 41 | #endif /* CONFIG_SMP */ |
33 | 42 | ||
34 | #endif /* _XTENSA_SMP_H */ | 43 | #endif /* _XTENSA_SMP_H */ |