[PATCH] mpspec: remove unneeded packed attribute

GCC 4.1 gives the following warning: include/asm/mpspec.h:79: warning:
`packed' attribute ignored for field of type `unsigned char'

The packed attribute isn't really necessary anyways so just remove it.

Signed-off-by: Brian Gerst <bgerst@didntduck.org>
Acked-by: Dave Jones <davej@codemonkey.org.uk>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Brian Gerst 2006-01-06 00:12:18 -08:00 committed by Linus Torvalds
parent bcf0f0d233
commit 19d534842c
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ struct mpc_config_bus
{
unsigned char mpc_type;
unsigned char mpc_busid;
unsigned char mpc_bustype[6] __attribute((packed));
unsigned char mpc_bustype[6];
};
/* List of Bus Type string values, Intel MP Spec. */

View File

@ -76,7 +76,7 @@ struct mpc_config_bus
{
unsigned char mpc_type;
unsigned char mpc_busid;
unsigned char mpc_bustype[6] __attribute((packed));
unsigned char mpc_bustype[6];
};
/* List of Bus Type string values, Intel MP Spec. */