projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e83be7
)
[S390] Add missing ifndef/define to include/asm-s390/sysinfo.h.
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Wed, 30 Apr 2008 11:38:35 +0000
(13:38 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Wed, 30 Apr 2008 11:38:43 +0000
(13:38 +0200)
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
patch
|
blob
|
history
diff --git
a/include/asm-s390/sysinfo.h
b/include/asm-s390/sysinfo.h
index abe10ae15e468d9e8e6733fd26e4a5b0d3bdc7e6..79d01343f8b0681c41b3eff67ccd33f6d1686b06 100644
(file)
--- a/
include/asm-s390/sysinfo.h
+++ b/
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, int fc, int sel1, int sel2)
: "cc", "memory");
return r0;
}
+
+#endif /* __ASM_S390_SYSINFO_H */