Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756093Ab0BXItS (ORCPT ); Wed, 24 Feb 2010 03:49:18 -0500 Received: from mtagate7.de.ibm.com ([195.212.17.167]:38321 "EHLO mtagate7.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755691Ab0BXIov (ORCPT ); Wed, 24 Feb 2010 03:44:51 -0500 Message-Id: <20100224084449.961187611@de.ibm.com> User-Agent: quilt/0.48-1 Date: Wed, 24 Feb 2010 09:44:44 +0100 From: Martin Schwidefsky To: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Cc: Heiko Carstens , Martin Schwidefsky Subject: [patch 14/32] [PATCH] sysinfo: fix SYSIB 3,2,2 structure References: <20100224084430.193562869@de.ibm.com> Content-Disposition: inline; filename=113-sysinfo-fix-sysib322.diff Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1168 Lines: 33 From: Heiko Carstens 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 Signed-off-by: Martin Schwidefsky --- arch/s390/include/asm/sysinfo.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: quilt-2.6/arch/s390/include/asm/sysinfo.h =================================================================== --- quilt-2.6.orig/arch/s390/include/asm/sysinfo.h 2010-02-24 09:28:13.000000000 +0100 +++ quilt-2.6/arch/s390/include/asm/sysinfo.h 2010-02-24 09:44:25.000000000 +0100 @@ -87,7 +87,8 @@ 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; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/