Commit f291e172 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky

[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: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 4e83be7b
...@@ -11,6 +11,9 @@ ...@@ -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) ...@@ -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 */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment