[patch 03/15] Add missing ifndef/define to include/asm-s390/sysinfo.h.
From: Martin Schwidefsky
Date: Tue Apr 29 2008 - 10:17:16 EST
From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
In order to protect against compile breakage in case the header file
gets included twice.
Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
Signed-off-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
---
include/asm-s390/sysinfo.h | 5 +++++
1 file changed, 5 insertions(+)
Index: quilt-2.6/include/asm-s390/sysinfo.h
===================================================================
--- quilt-2.6.orig/include/asm-s390/sysinfo.h
+++ quilt-2.6/include/asm-s390/sysinfo.h
@@ -11,6 +11,9 @@
* Christian Borntraeger <borntraeger@xxxxxxxxxx>
*/
+#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, in
: "cc", "memory");
return r0;
}
+
+#endif /* __ASM_S390_SYSINFO_H */
--
blue skies,
Martin.
"Reality continues to ruin my life." - Calvin.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/