diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2010-02-27 00:37:39 +0300 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-02-27 00:37:31 +0300 |
commit | 8387c736fcbaec17890b8d075ee4f4623518b54a (patch) | |
tree | 635e0577a976760bb2b50de6e1feef4352976758 /arch/s390 | |
parent | 27d71602b4a605fbb31088e69ac12187e69a9443 (diff) | |
download | linux-8387c736fcbaec17890b8d075ee4f4623518b54a.tar.xz |
[S390] sysinfo: fix SYSIB 3,2,2 structure
The size of the field that contains the description block count is
only four bits instead of eight bits.
The first four bits are reserved but this might change and break.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/include/asm/sysinfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/include/asm/sysinfo.h b/arch/s390/include/asm/sysinfo.h index 9d70057d828c..22bdb2a0ee5f 100644 --- a/arch/s390/include/asm/sysinfo.h +++ b/arch/s390/include/asm/sysinfo.h @@ -87,7 +87,8 @@ struct sysinfo_2_2_2 { struct sysinfo_3_2_2 { char reserved_0[31]; - unsigned char count; + unsigned char :4; + unsigned char count:4; struct { char reserved_0[4]; unsigned short cpus_total; |