arch/arm/src/samv7: fix missing sam_pendsv
The commit invalidly removed
`sam_pendsv` instead of `sam_busfault`.
@@ -161,11 +161,10 @@ static int sam_nmi(int irq, void *context, void *arg)
return 0;
}
-static int sam_busfault(int irq, void *context, void *arg)
+static int sam_pendsv(int irq, void *context, void *arg)
{
up_irq_save();
- _err("PANIC!!! Bus fault received: %08" PRIx32 "\n",
- getreg32(NVIC_CFAULTS));
+ _err("PANIC!!! PendSV received\n");
PANIC();
return 0;
}
