Selaa lähdekoodia

x86: sigframe.h: add guard macro

Impact: cleanup

Add missing guard macro _ASM_X86_SIGFRAME_H.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Hiroshi Shimamoto 16 vuotta sitten
vanhempi
commit
5c2628e8b4
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      arch/x86/include/asm/sigframe.h

+ 5 - 0
arch/x86/include/asm/sigframe.h

@@ -1,3 +1,6 @@
+#ifndef _ASM_X86_SIGFRAME_H
+#define _ASM_X86_SIGFRAME_H
+
 #ifdef CONFIG_X86_32
 #define sigframe_ia32		sigframe
 #define rt_sigframe_ia32	rt_sigframe
@@ -59,3 +62,5 @@ struct rt_sigframe {
 	/* fp state follows here */
 };
 #endif /* CONFIG_X86_64 */
+
+#endif /* _ASM_X86_SIGFRAME_H */