linux/debian/patches-rt/0016-Drivers-hv-vmbus-inclu...

44 lines
1.7 KiB
Diff
Raw Permalink Normal View History

2020-10-12 12:52:06 +00:00
From 4eceb5976ca54ea43b1923f2963aaf5403241d03 Mon Sep 17 00:00:00 2001
Message-Id: <4eceb5976ca54ea43b1923f2963aaf5403241d03.1601675151.git.zanussi@kernel.org>
In-Reply-To: <5b5a156f9808b1acf1205606e03da117214549ea.1601675151.git.zanussi@kernel.org>
References: <5b5a156f9808b1acf1205606e03da117214549ea.1601675151.git.zanussi@kernel.org>
2018-08-31 15:16:36 +00:00
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Wed, 29 Aug 2018 21:59:04 +0200
2020-09-04 20:10:21 +00:00
Subject: [PATCH 016/333] Drivers: hv: vmbus: include header for get_irq_regs()
2018-08-31 15:16:36 +00:00
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
2020-10-12 12:52:06 +00:00
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.148-rt64.tar.xz
2018-08-31 15:16:36 +00:00
On !RT the header file get_irq_regs() gets pulled in via other header files. On
RT it does not and the build fails:
drivers/hv/vmbus_drv.c:975 implicit declaration of function get_irq_regs [-Werror=implicit-function-declaration]
drivers/hv/hv.c:115 implicit declaration of function get_irq_regs [-Werror=implicit-function-declaration]
Add the header file for get_irq_regs() in a common header so it used by
vmbus_drv.c by hv.c for their get_irq_regs() usage.
Reported-by: Bernhard Landauer <oberon@manjaro.org>
Reported-by: Ralf Ramsauer <ralf.ramsauer@oth-regensburg.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
2019-04-08 23:49:20 +00:00
drivers/hv/hyperv_vmbus.h | 1 +
2018-08-31 15:16:36 +00:00
1 file changed, 1 insertion(+)
2019-04-08 23:49:20 +00:00
diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h
index 87d3d7da78f8..1d2d8a4b837d 100644
2018-08-31 15:16:36 +00:00
--- a/drivers/hv/hyperv_vmbus.h
+++ b/drivers/hv/hyperv_vmbus.h
@@ -31,6 +31,7 @@
#include <linux/atomic.h>
#include <linux/hyperv.h>
#include <linux/interrupt.h>
+#include <linux/irq.h>
#include "hv_trace.h"
2020-01-03 23:36:11 +00:00
--
2020-06-22 13:14:16 +00:00
2.17.1
2020-01-03 23:36:11 +00:00