Skip to content

Commit

Permalink
[S390] Add missing ifndef/define to include/asm-s390/sysinfo.h.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Apr 30, 2008
1 parent 4e83be7 commit f291e17
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/asm-s390/sysinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down Expand Up @@ -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 */

0 comments on commit f291e17

Please sign in to comment.