Commit a8229a9e authored by Geoff Levand's avatar Geoff Levand Committed by Paul Mackerras

[POWERPC] ps3: fix struct alignment attributes

Remove incorrect alignment attributes in PS3 platform code for
struct spe_shadow, struct os_area_header, and struct os_area_params.
Signed-off-by: default avatarGeoff Levand <geoffrey.levand@am.sony.com>
Acked-by: default avatarArnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 43d80439
...@@ -59,7 +59,7 @@ struct os_area_header { ...@@ -59,7 +59,7 @@ struct os_area_header {
u32 ldr_format; u32 ldr_format;
u32 ldr_size; u32 ldr_size;
u32 _reserved_2[6]; u32 _reserved_2[6];
} __attribute__ ((packed)); };
enum { enum {
PARAM_BOOT_FLAG_GAME_OS = 0, PARAM_BOOT_FLAG_GAME_OS = 0,
...@@ -114,7 +114,7 @@ struct os_area_params { ...@@ -114,7 +114,7 @@ struct os_area_params {
u8 dns_primary[4]; u8 dns_primary[4];
u8 dns_secondary[4]; u8 dns_secondary[4];
u8 _reserved_5[8]; u8 _reserved_5[8];
} __attribute__ ((packed)); };
/** /**
* struct saved_params - Static working copies of data from the 'Other OS' area. * struct saved_params - Static working copies of data from the 'Other OS' area.
......
...@@ -50,7 +50,7 @@ enum spe_type { ...@@ -50,7 +50,7 @@ enum spe_type {
*/ */
struct spe_shadow { struct spe_shadow {
u8 padding_0000[0x0140]; u8 padding_0140[0x0140];
u64 int_status_class0_RW; /* 0x0140 */ u64 int_status_class0_RW; /* 0x0140 */
u64 int_status_class1_RW; /* 0x0148 */ u64 int_status_class1_RW; /* 0x0148 */
u64 int_status_class2_RW; /* 0x0150 */ u64 int_status_class2_RW; /* 0x0150 */
...@@ -67,8 +67,7 @@ struct spe_shadow { ...@@ -67,8 +67,7 @@ struct spe_shadow {
u8 padding_0c08[0x0f00-0x0c08]; u8 padding_0c08[0x0f00-0x0c08];
u64 spe_execution_status; /* 0x0f00 */ u64 spe_execution_status; /* 0x0f00 */
u8 padding_0f08[0x1000-0x0f08]; u8 padding_0f08[0x1000-0x0f08];
} __attribute__ ((packed)); };
/** /**
* enum spe_ex_state - Logical spe execution state. * enum spe_ex_state - Logical spe execution state.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment