summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemis Lima Baima <remis.developer@googlemail.com>2009-04-30 18:36:23 +0200
committerIngo Molnar <mingo@elte.hu>2009-04-30 19:26:11 +0200
commitbf293c17b26b8854241df08b9b63f7270cbde012 (patch)
tree276bfbfefd12ed5dc41faf10370947eeb0175a6c
parentx86: avoid multiple declaration of kstack_depth_to_print (diff)
downloadlinux-bf293c17b26b8854241df08b9b63f7270cbde012.tar.xz
linux-bf293c17b26b8854241df08b9b63f7270cbde012.zip
x86: added 'ifndef _ASM_X86_IOMAP_H' to iomap.h
iomap.h misses the include guards. [ Impact: cleanup ] Signed-off-by: Remis Lima Baima <remis.developer@googlemail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> LKML-Reference: <200904301836.23885.arnd@arndb.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/include/asm/iomap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/include/asm/iomap.h b/arch/x86/include/asm/iomap.h
index 86af26091d6c..0e9fe1d9d971 100644
--- a/arch/x86/include/asm/iomap.h
+++ b/arch/x86/include/asm/iomap.h
@@ -1,3 +1,6 @@
+#ifndef _ASM_X86_IOMAP_H
+#define _ASM_X86_IOMAP_H
+
/*
* Copyright © 2008 Ingo Molnar
*
@@ -31,3 +34,5 @@ iomap_atomic_prot_pfn(unsigned long pfn, enum km_type type, pgprot_t prot);
void
iounmap_atomic(void *kvaddr, enum km_type type);
+
+#endif /* _ASM_X86_IOMAP_H */