Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
8387c736 27d71602

+2 -1
+2 -1
arch/s390/include/asm/sysinfo.h
··· 87 87 88 88 struct sysinfo_3_2_2 { 89 89 char reserved_0[31]; 90 - unsigned char count; 90 + unsigned char :4; 91 + unsigned char count:4; 91 92 struct { 92 93 char reserved_0[4]; 93 94 unsigned short cpus_total;