Browse Source

[S390] Add missing ifndef/define to include/asm-s390/sysinfo.h.

In order to protect against compile breakage in case the header file
gets included twice.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Heiko Carstens 17 years ago
parent
commit
f291e17227
1 changed files with 5 additions and 0 deletions
  1. 5 0
      include/asm-s390/sysinfo.h

+ 5 - 0
include/asm-s390/sysinfo.h

@@ -11,6 +11,9 @@
  *		 Christian Borntraeger <borntraeger@de.ibm.com>
  *		 Christian Borntraeger <borntraeger@de.ibm.com>
  */
  */
 
 
+#ifndef __ASM_S390_SYSINFO_H
+#define __ASM_S390_SYSINFO_H
+
 struct sysinfo_1_1_1 {
 struct sysinfo_1_1_1 {
 	char reserved_0[32];
 	char reserved_0[32];
 	char manufacturer[16];
 	char manufacturer[16];
@@ -114,3 +117,5 @@ static inline int stsi(void *sysinfo, int fc, int sel1, int sel2)
 		: "cc", "memory");
 		: "cc", "memory");
 	return r0;
 	return r0;
 }
 }
+
+#endif /* __ASM_S390_SYSINFO_H */