diff options
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/hp/sim/boot/bootloader.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/ia64/hp/sim/boot/bootloader.c b/arch/ia64/hp/sim/boot/bootloader.c index 51a7b7b4dd0e..a7bed60b69f9 100644 --- a/arch/ia64/hp/sim/boot/bootloader.c +++ b/arch/ia64/hp/sim/boot/bootloader.c | |||
@@ -30,10 +30,14 @@ struct disk_req { | |||
30 | unsigned len; | 30 | unsigned len; |
31 | }; | 31 | }; |
32 | 32 | ||
33 | /* SSC_WAIT_COMPLETION appears to want this large alignment. gcc < 4 | ||
34 | * seems to give it by default, however gcc > 4 is smarter and may | ||
35 | * not. | ||
36 | */ | ||
33 | struct disk_stat { | 37 | struct disk_stat { |
34 | int fd; | 38 | int fd; |
35 | unsigned count; | 39 | unsigned count; |
36 | }; | 40 | } __attribute__ ((aligned (16))); |
37 | 41 | ||
38 | extern void jmp_to_kernel (unsigned long bp, unsigned long e_entry); | 42 | extern void jmp_to_kernel (unsigned long bp, unsigned long e_entry); |
39 | extern struct ia64_boot_param *sys_fw_init (const char *args, int arglen); | 43 | extern struct ia64_boot_param *sys_fw_init (const char *args, int arglen); |