Hexagon: misc compile warning/error cleanup due to missing headers
authorRichard Kuo <rkuo@codeaurora.org>
Tue, 15 Nov 2011 22:58:11 +0000 (16:58 -0600)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 10 Sep 2013 00:57:32 +0000 (01:57 +0100)
commit 6bbbc30ce6b0ae428575c8af7c2a6c342c534e19 upstream.

Fixed warnings/errors for EXPORT_SYMBOL, linux_binprm, elf related
defines

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/hexagon/kernel/dma.c
arch/hexagon/kernel/ptrace.c
arch/hexagon/kernel/time.c
arch/hexagon/kernel/vdso.c

index e711ace62fdf9b60eb93d97cf0de193d936cce35..54891e1eca51180f6ab39ac840b62936c7e40056 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/bootmem.h>
 #include <linux/genalloc.h>
 #include <asm/dma-mapping.h>
+#include <linux/module.h>
 
 struct dma_map_ops *dma_ops;
 EXPORT_SYMBOL(dma_ops);
index bea3f08470fd226c7c5bf7024b906d1feb676468..8fe03494aa664c543a645b58be8dea96dd11ed4a 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/ptrace.h>
 #include <linux/regset.h>
 #include <linux/user.h>
+#include <linux/elf.h>
 
 #include <asm/system.h>
 #include <asm/user.h>
index 6bee15c9c113d7854991597fa0d2f0b7af4f9b91..5d9b33b67935529a38c437be63c55f4556a7f0c3 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/of.h>
 #include <linux/of_address.h>
 #include <linux/of_irq.h>
+#include <linux/module.h>
 
 #include <asm/timer-regs.h>
 #include <asm/hexagon_vm.h>
index 16277c33308af1cd6a735735bd24932bd76dff9e..e4ceedb97fcc814a88274f679b3ed760b4e58ac1 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/err.h>
 #include <linux/mm.h>
 #include <linux/vmalloc.h>
+#include <linux/binfmts.h>
 
 #include <asm/vdso.h>