s390/smp,sclp: fix size of sclp_cpu_info structure
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 30 Nov 2013 11:00:28 +0000 (12:00 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 2 Dec 2013 14:31:08 +0000 (15:31 +0100)
commit9c0952344d732ec47d05653d471c720bce112fcd
tree6b4d83f745cf1eedc801531bdf728a626766cecb
parent9e3ea19e35635ecd8373fc04f5dfb072be5f6d2c
s390/smp,sclp: fix size of sclp_cpu_info structure

struct sclp_cpu_info contains entries only for 255 cpus, while the new
smp fallback sigp detection code will fill up to 256 entries.
Even though there is no machine available which has 256 cpus and where
in addition the fallback sigp cpu detection code will be used we better
fix this, to prevent out of bound accesses.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/sclp.h