summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/tau_6xx.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2021-01-30 23:08:38 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2021-02-09 00:02:12 +1100
commit3a96570ffceb15c6ed9cc6f990f172dcdc8ac279 (patch)
tree055ee48f333599bbe86c218f73dd3e29791281b7 /arch/powerpc/kernel/tau_6xx.c
parentfd3f1e0f139f1314ff97438eebaa1f9d216e10a2 (diff)
downloadlinux-3a96570ffceb15c6ed9cc6f990f172dcdc8ac279.tar.gz
linux-3a96570ffceb15c6ed9cc6f990f172dcdc8ac279.tar.bz2
linux-3a96570ffceb15c6ed9cc6f990f172dcdc8ac279.zip
powerpc: convert interrupt handlers to use wrappers
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210130130852.2952424-29-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/kernel/tau_6xx.c')
-rw-r--r--arch/powerpc/kernel/tau_6xx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/tau_6xx.c b/arch/powerpc/kernel/tau_6xx.c
index 0b4694b8d248..3f300eccc09e 100644
--- a/arch/powerpc/kernel/tau_6xx.c
+++ b/arch/powerpc/kernel/tau_6xx.c
@@ -22,6 +22,7 @@
#include <linux/delay.h>
#include <linux/workqueue.h>
+#include <asm/interrupt.h>
#include <asm/io.h>
#include <asm/reg.h>
#include <asm/nvram.h>
@@ -100,7 +101,7 @@ static void TAUupdate(int cpu)
* with interrupts disabled
*/
-void TAUException(struct pt_regs * regs)
+DEFINE_INTERRUPT_HANDLER_ASYNC(TAUException)
{
int cpu = smp_processor_id();