summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2007-05-08 11:31:07 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-05-08 11:31:07 +0100
commitb9811d7fde6136bb3dc78dd4f4dd4f54be725b25 (patch)
tree16c76ee8dad25b77f7ee790046bcb6d5e4037a60 /arch/arm/kernel
parent5b94f675f57e4ff16c8fda09088d7480a84dcd91 (diff)
downloadblackbird-obmc-linux-b9811d7fde6136bb3dc78dd4f4dd4f54be725b25.tar.gz
blackbird-obmc-linux-b9811d7fde6136bb3dc78dd4f4dd4f54be725b25.zip
[ARM] Mark SMP local timer and IPI as exception entries
This allows the backtrace to dump the exception stack contents. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r--arch/arm/kernel/smp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c
index 070bcb7a6306..1b76d87fa335 100644
--- a/arch/arm/kernel/smp.c
+++ b/arch/arm/kernel/smp.c
@@ -486,7 +486,7 @@ static void ipi_timer(void)
}
#ifdef CONFIG_LOCAL_TIMERS
-asmlinkage void do_local_timer(struct pt_regs *regs)
+asmlinkage void __exception do_local_timer(struct pt_regs *regs)
{
struct pt_regs *old_regs = set_irq_regs(regs);
int cpu = smp_processor_id();
@@ -551,7 +551,7 @@ static void ipi_cpu_stop(unsigned int cpu)
*
* Bit 0 - Inter-processor function call
*/
-asmlinkage void do_IPI(struct pt_regs *regs)
+asmlinkage void __exception do_IPI(struct pt_regs *regs)
{
unsigned int cpu = smp_processor_id();
struct ipi_data *ipi = &per_cpu(ipi_data, cpu);
OpenPOWER on IntegriCloud