提交 19d53484 编写于 作者: B Brian Gerst 提交者: Linus Torvalds

[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: NBrian Gerst <bgerst@didntduck.org>
Acked-by: NDave Jones <davej@codemonkey.org.uk>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 bcf0f0d2
......@@ -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. */
......
......@@ -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. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册