Messages in this thread Patch in this message | | | Date | Tue, 29 Apr 2008 16:01:20 +0200 | From | Martin Schwidefsky <> | Subject | [patch 03/15] Add missing ifndef/define to include/asm-s390/sysinfo.h. |
| |
From: Heiko Carstens <heiko.carstens@de.ibm.com>
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 | 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@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, in : "cc", "memory"); return r0; } + +#endif /* __ASM_S390_SYSINFO_H */ -- blue skies, Martin.
"Reality continues to ruin my life." - Calvin.
| |