]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.14.60/powerpc-32-add-a-missing-include-header.patch
Fixes for 5.10
[thirdparty/kernel/stable-queue.git] / releases / 4.14.60 / powerpc-32-add-a-missing-include-header.patch
CommitLineData
a65d4bac
GKH
1From foo@baz Sat Jul 28 10:25:26 CEST 2018
2From: Mathieu Malaterre <malat@debian.org>
3Date: Thu, 22 Mar 2018 21:20:03 +0100
4Subject: powerpc/32: Add a missing include header
5
6From: Mathieu Malaterre <malat@debian.org>
7
8[ Upstream commit c89ca593220931c150cffda24b4d4ccf82f13fc8 ]
9
10The header file <linux/syscalls.h> was missing from the includes. Fix the
11following warning, treated as error with W=1:
12
13 arch/powerpc/kernel/pci_32.c:286:6: error: no previous prototype for ‘sys_pciconfig_iobase’ [-Werror=missing-prototypes]
14
15Signed-off-by: Mathieu Malaterre <malat@debian.org>
16Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
17Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
18Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19---
20 arch/powerpc/kernel/pci_32.c | 1 +
21 1 file changed, 1 insertion(+)
22
23--- a/arch/powerpc/kernel/pci_32.c
24+++ b/arch/powerpc/kernel/pci_32.c
25@@ -11,6 +11,7 @@
26 #include <linux/sched.h>
27 #include <linux/errno.h>
28 #include <linux/bootmem.h>
29+#include <linux/syscalls.h>
30 #include <linux/irq.h>
31 #include <linux/list.h>
32 #include <linux/of.h>