diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-04-30 07:38:35 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-04-30 07:38:43 -0400 |
commit | f291e17227cf30432ca7c402220f62e6924dd97d (patch) | |
tree | 3d9794042912e663d708b122f3cbc989112f6e11 | |
parent | 4e83be7b24ba4fe40acf0b967bd6ae8c9ac79bde (diff) |
[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>
-rw-r--r-- | include/asm-s390/sysinfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-s390/sysinfo.h b/include/asm-s390/sysinfo.h index abe10ae15e46..79d01343f8b0 100644 --- a/include/asm-s390/sysinfo.h +++ b/include/asm-s390/sysinfo.h | |||
@@ -11,6 +11,9 @@ | |||
11 | * Christian Borntraeger <borntraeger@de.ibm.com> | 11 | * Christian Borntraeger <borntraeger@de.ibm.com> |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #ifndef __ASM_S390_SYSINFO_H | ||
15 | #define __ASM_S390_SYSINFO_H | ||
16 | |||
14 | struct sysinfo_1_1_1 { | 17 | struct sysinfo_1_1_1 { |
15 | char reserved_0[32]; | 18 | char reserved_0[32]; |
16 | char manufacturer[16]; | 19 | char manufacturer[16]; |
@@ -114,3 +117,5 @@ static inline int stsi(void *sysinfo, int fc, int sel1, int sel2) | |||
114 | : "cc", "memory"); | 117 | : "cc", "memory"); |
115 | return r0; | 118 | return r0; |
116 | } | 119 | } |
120 | |||
121 | #endif /* __ASM_S390_SYSINFO_H */ | ||