Linux-ARM-Kernel Archive on lore.kernel.org
 help / Atom feed
* [PATCH] arm: Add missing method to asm/irq_work.h
@ 2019-05-22  9:18 Philippe Mazenauer
  0 siblings, 0 replies; 1+ messages in thread
From: Philippe Mazenauer @ 2019-05-22  9:18 UTC (permalink / raw)
  Cc: Philippe Mazenauer, Russell King, moderated list:ARM PORT, open list

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@outlook.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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 1+ messages in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-22  9:18 [PATCH] arm: Add missing method to asm/irq_work.h Philippe Mazenauer

Linux-ARM-Kernel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-arm-kernel/0 linux-arm-kernel/git/0.git
	git clone --mirror https://lore.kernel.org/linux-arm-kernel/1 linux-arm-kernel/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-arm-kernel linux-arm-kernel/ https://lore.kernel.org/linux-arm-kernel \
		linux-arm-kernel@lists.infradead.org infradead-linux-arm-kernel@archiver.kernel.org
	public-inbox-index linux-arm-kernel


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-arm-kernel


AGPL code for this site: git clone https://public-inbox.org/ public-inbox