summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/suspend_32.h
diff options
context:
space:
mode:
authorVegard Nossum2008-06-10 23:45:45 +0200
committerIngo Molnar2008-06-18 12:27:03 +0200
commit0db125c467afcbcc229abb1a87bc36ef72777dc2 (patch)
treeafb52caf91eb9db5115355c7163fdf11bb4bec0a /include/asm-x86/suspend_32.h
parentx86: make asm/asm.h work for asm code. (diff)
downloadkernel-qcow2-linux-0db125c467afcbcc229abb1a87bc36ef72777dc2.tar.gz
kernel-qcow2-linux-0db125c467afcbcc229abb1a87bc36ef72777dc2.tar.xz
kernel-qcow2-linux-0db125c467afcbcc229abb1a87bc36ef72777dc2.zip
x86: more header fixes
Summary: Add missing include guards for some x86 headers. This has only had the most rudimentary testing, but is hopefully obviously correct. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/suspend_32.h')
-rw-r--r--include/asm-x86/suspend_32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-x86/suspend_32.h b/include/asm-x86/suspend_32.h
index 24e1c080aa8a..8675c6782a7d 100644
--- a/include/asm-x86/suspend_32.h
+++ b/include/asm-x86/suspend_32.h
@@ -3,6 +3,9 @@
* Based on code
* Copyright 2001 Patrick Mochel <mochel@osdl.org>
*/
+#ifndef __ASM_X86_32_SUSPEND_H
+#define __ASM_X86_32_SUSPEND_H
+
#include <asm/desc.h>
#include <asm/i387.h>
@@ -44,3 +47,5 @@ static inline void acpi_save_register_state(unsigned long return_point)
/* routines for saving/restoring kernel state */
extern int acpi_save_state_mem(void);
#endif
+
+#endif /* __ASM_X86_32_SUSPEND_H */