]> err.no Git - linux-2.6/commitdiff
[S390] Add missing ifndef/define to include/asm-s390/sysinfo.h.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 30 Apr 2008 11:38:35 +0000 (13:38 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 30 Apr 2008 11:38:43 +0000 (13:38 +0200)
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>
include/asm-s390/sysinfo.h

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