diff options
author | Brian Gerst <bgerst@didntduck.org> | 2006-01-06 03:12:18 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:39 -0500 |
commit | 19d534842cc39df1b568722c18f96ae24fb0e136 (patch) | |
tree | bf4a0deac286079540f849dff8f8c030e2eba097 | |
parent | bcf0f0d233fc76e7c59c7f731caad555428d0e8d (diff) |
[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>
-rw-r--r-- | include/asm-i386/mpspec_def.h | 2 | ||||
-rw-r--r-- | include/asm-x86_64/mpspec.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-i386/mpspec_def.h b/include/asm-i386/mpspec_def.h index a961093dbf88..76feedf85a8a 100644 --- a/include/asm-i386/mpspec_def.h +++ b/include/asm-i386/mpspec_def.h | |||
@@ -75,7 +75,7 @@ struct mpc_config_bus | |||
75 | { | 75 | { |
76 | unsigned char mpc_type; | 76 | unsigned char mpc_type; |
77 | unsigned char mpc_busid; | 77 | unsigned char mpc_busid; |
78 | unsigned char mpc_bustype[6] __attribute((packed)); | 78 | unsigned char mpc_bustype[6]; |
79 | }; | 79 | }; |
80 | 80 | ||
81 | /* List of Bus Type string values, Intel MP Spec. */ | 81 | /* List of Bus Type string values, Intel MP Spec. */ |
diff --git a/include/asm-x86_64/mpspec.h b/include/asm-x86_64/mpspec.h index 6f8a17d105ab..10248a9a0582 100644 --- a/include/asm-x86_64/mpspec.h +++ b/include/asm-x86_64/mpspec.h | |||
@@ -76,7 +76,7 @@ struct mpc_config_bus | |||
76 | { | 76 | { |
77 | unsigned char mpc_type; | 77 | unsigned char mpc_type; |
78 | unsigned char mpc_busid; | 78 | unsigned char mpc_busid; |
79 | unsigned char mpc_bustype[6] __attribute((packed)); | 79 | unsigned char mpc_bustype[6]; |
80 | }; | 80 | }; |
81 | 81 | ||
82 | /* List of Bus Type string values, Intel MP Spec. */ | 82 | /* List of Bus Type string values, Intel MP Spec. */ |