diff options
author | Jason Gunthorpe <jgunthorpe@obsidianresearch.com> | 2012-11-21 15:56:45 -0500 |
---|---|---|
committer | Kent Yoder <key@linux.vnet.ibm.com> | 2013-02-05 10:38:22 -0500 |
commit | 348df8db301d9fa01fb51e5eaca1e9f3b27bd4c8 (patch) | |
tree | 560d7a6574e520ea9e9e232abce80cfb96e88142 /drivers/char/tpm/tpm_acpi.c | |
parent | c584af1926b7626ef3bdab3354382cb2bd434d36 (diff) |
TPM: Switch to __packed instead of __attribute__((packed))
This seems to be preferred these days.
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
Diffstat (limited to 'drivers/char/tpm/tpm_acpi.c')
-rw-r--r-- | drivers/char/tpm/tpm_acpi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/tpm/tpm_acpi.c b/drivers/char/tpm/tpm_acpi.c index 56051d0c97a2..64420b3396a2 100644 --- a/drivers/char/tpm/tpm_acpi.c +++ b/drivers/char/tpm/tpm_acpi.c | |||
@@ -33,13 +33,13 @@ struct acpi_tcpa { | |||
33 | u16 platform_class; | 33 | u16 platform_class; |
34 | union { | 34 | union { |
35 | struct client_hdr { | 35 | struct client_hdr { |
36 | u32 log_max_len __attribute__ ((packed)); | 36 | u32 log_max_len __packed; |
37 | u64 log_start_addr __attribute__ ((packed)); | 37 | u64 log_start_addr __packed; |
38 | } client; | 38 | } client; |
39 | struct server_hdr { | 39 | struct server_hdr { |
40 | u16 reserved; | 40 | u16 reserved; |
41 | u64 log_max_len __attribute__ ((packed)); | 41 | u64 log_max_len __packed; |
42 | u64 log_start_addr __attribute__ ((packed)); | 42 | u64 log_start_addr __packed; |
43 | } server; | 43 | } server; |
44 | }; | 44 | }; |
45 | }; | 45 | }; |