1 From foo@baz Sat Jul 28 10:14:30 CEST 2018
2 From: Mathieu Malaterre <malat@debian.org>
3 Date: Thu, 22 Mar 2018 21:20:03 +0100
4 Subject: powerpc/32: Add a missing include header
6 From: Mathieu Malaterre <malat@debian.org>
8 [ Upstream commit c89ca593220931c150cffda24b4d4ccf82f13fc8 ]
10 The header file <linux/syscalls.h> was missing from the includes. Fix the
11 following warning, treated as error with W=1:
13 arch/powerpc/kernel/pci_32.c:286:6: error: no previous prototype for ‘sys_pciconfig_iobase’ [-Werror=missing-prototypes]
15 Signed-off-by: Mathieu Malaterre <malat@debian.org>
16 Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
17 Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
18 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20 arch/powerpc/kernel/pci_32.c | 1 +
21 1 file changed, 1 insertion(+)
23 --- a/arch/powerpc/kernel/pci_32.c
24 +++ b/arch/powerpc/kernel/pci_32.c
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>