[<prev] [next>] [day] [month] [year] [list]
Message-ID: <VI1PR07MB4432EEF1C469BE68BF1F1DA7FD000@VI1PR07MB4432.eurprd07.prod.outlook.com>
Date: Wed, 22 May 2019 09:18:14 +0000
From: Philippe Mazenauer <philippe.mazenauer@...look.de>
To: unlisted-recipients:; (no To-header on input)
CC: Philippe Mazenauer <philippe.mazenauer@...look.de>,
Russell King <linux@...linux.org.uk>,
"moderated list:ARM PORT" <linux-arm-kernel@...ts.infradead.org>,
open list <linux-kernel@...r.kernel.org>
Subject: [PATCH] arm: Add missing method to asm/irq_work.h
Add missing method arch_irq_work_raise() to irq_work.h, so as to remove
missing-prototypes warning in kernel/smp.c.
../arch/arm/kernel/smp.c:572:6: warning: no previous prototype for ‘arch_irq_work_raise’ [-Wmissing-prototypes]
void arch_irq_work_raise(void)
^~~~~~~~~~~~~~~~~~~
Signed-off-by: Philippe Mazenauer <philippe.mazenauer@...look.de>
---
arch/arm/include/asm/irq_work.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/include/asm/irq_work.h b/arch/arm/include/asm/irq_work.h
index 8895999834cc..c9edb9e7527f 100644
--- a/arch/arm/include/asm/irq_work.h
+++ b/arch/arm/include/asm/irq_work.h
@@ -4,6 +4,8 @@
#include <asm/smp_plat.h>
+void arch_irq_work_raise(void);
+
static inline bool arch_irq_work_has_interrupt(void)
{
return is_smp();
--
2.17.1
Powered by blists - more mailing lists