]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc: Ensure global functions include their prototype
authorAnton Blanchard <anton@samba.org>
Tue, 19 Aug 2014 22:55:19 +0000 (08:55 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 Sep 2014 13:14:42 +0000 (23:14 +1000)
Fix a number of places where global functions were not including
their prototype. This ensures the prototype and the function match.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/smp.c
arch/powerpc/mm/slice.c
arch/powerpc/oprofile/backtrace.c
arch/powerpc/platforms/powernv/subcore.c
arch/powerpc/platforms/pseries/dlpar.c
arch/powerpc/platforms/pseries/hotplug-memory.c
arch/powerpc/platforms/pseries/pci.c

index a0738af4aba6b80b3d356935d3bcf5c3b61a4f48..4866d5dbd420e185fd395c9c01df7ac8b4bfc274 100644 (file)
@@ -52,6 +52,7 @@
 #endif
 #include <asm/vdso.h>
 #include <asm/debug.h>
+#include <asm/kexec.h>
 
 #ifdef DEBUG
 #include <asm/udbg.h>
index b0c75cc15efc673a0ff8f22e0c0e6ef8dc18a038..86f6a755af0bbe80c7821755f75a9a54854adfc6 100644 (file)
 #include <linux/err.h>
 #include <linux/spinlock.h>
 #include <linux/export.h>
+#include <linux/hugetlb.h>
 #include <asm/mman.h>
 #include <asm/mmu.h>
 #include <asm/spu.h>
+#include <asm/hugetlb.h>
 
 /* some sanity checks */
 #if (PGTABLE_RANGE >> 43) > SLICE_MASK_SIZE
index f75301f2c85fd2960acd21ee427527614934585e..6adf55fa5d88c2cb55b13dc99cfbdaecba7dcff3 100644 (file)
@@ -12,6 +12,7 @@
 #include <asm/processor.h>
 #include <asm/uaccess.h>
 #include <asm/compat.h>
+#include <asm/oprofile_impl.h>
 
 #define STACK_SP(STACK)                *(STACK)
 
index 894ecb3eb5963506be9e0efead851a48cf577b1e..c87f96b79d1a02ed5f5371a2d02fc509deb3f3a1 100644 (file)
@@ -24,6 +24,7 @@
 #include <asm/smp.h>
 
 #include "subcore.h"
+#include "powernv.h"
 
 
 /*
index a2450b8a50a5eaaf3bbab9fc402bbf8997c00ed4..55a1b2f681e0d5fddea2a73f1d82e64534f5c64d 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/slab.h>
 #include <linux/of.h>
 #include "offline_states.h"
+#include "pseries.h"
 
 #include <asm/prom.h>
 #include <asm/machdep.h>
index 17ee193960a09aab4e5e4502525f4b55788bdcce..187ecfab8362a76ba271e98d933d03c4b931b861 100644 (file)
@@ -20,6 +20,7 @@
 #include <asm/machdep.h>
 #include <asm/prom.h>
 #include <asm/sparsemem.h>
+#include "pseries.h"
 
 unsigned long pseries_memory_block_size(void)
 {
index c413ec158ff5a6587e7c611659f817dc33d9c7e4..67e48594040cb6fcceec3989b89ebb420f742037 100644 (file)
@@ -29,6 +29,7 @@
 #include <asm/pci-bridge.h>
 #include <asm/prom.h>
 #include <asm/ppc-pci.h>
+#include "pseries.h"
 
 #if 0
 void pcibios_name_device(struct pci_dev *dev)