[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>
This commit is contained in:
Heiko Carstens 2010-02-26 22:37:39 +01:00 committed by Martin Schwidefsky
parent 27d71602b4
commit 8387c736fc

View File

@ -87,7 +87,8 @@ struct sysinfo_2_2_2 {
struct sysinfo_3_2_2 { struct sysinfo_3_2_2 {
char reserved_0[31]; char reserved_0[31];
unsigned char count; unsigned char :4;
unsigned char count:4;
struct { struct {
char reserved_0[4]; char reserved_0[4];
unsigned short cpus_total; unsigned short cpus_total;