sparc: fix implicit include of slab.h in leon_pci_grpci2.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 13 Feb 2014 15:59:18 +0000 (10:59 -0500)
committerTejun Heo <tj@kernel.org>
Thu, 13 Feb 2014 21:18:00 +0000 (16:18 -0500)
commitd6250ee2fa79637a5750e46734816c7af71ea97e
treea37402163649331c99fec992aa68910a899d4e90
parent8541fecc04a91842f023cbfe2c376d4de3b5047e
sparc: fix implicit include of slab.h in leon_pci_grpci2.c

To fix:

arch/sparc/kernel/leon_pci_grpci2.c: In function 'grpci2_of_probe':
arch/sparc/kernel/leon_pci_grpci2.c:720:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-function-declaration]
arch/sparc/kernel/leon_pci_grpci2.c:720:20: error: assignment makes pointer from integer without a cast [-Werror]
arch/sparc/kernel/leon_pci_grpci2.c:882:2: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make[2]: *** [arch/sparc/kernel/leon_pci_grpci2.o] Error 1

According to Stephen, these types of failures are caused by commit
2bd59d48ebfb ("cgroup: convert to kernfs") which was being included
implicitly via cgroup.h's inclusion of xattr.h (which has now been
removed).

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
arch/sparc/kernel/leon_pci_grpci2.c
This page took 0.025907 seconds and 5 git commands to generate.