aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/ia64/hp/sim/boot/bootloader.c6
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 */
33struct disk_stat { 37struct disk_stat {
34 int fd; 38 int fd;
35 unsigned count; 39 unsigned count;
36}; 40} __attribute__ ((aligned (16)));
37 41
38extern void jmp_to_kernel (unsigned long bp, unsigned long e_entry); 42extern void jmp_to_kernel (unsigned long bp, unsigned long e_entry);
39extern struct ia64_boot_param *sys_fw_init (const char *args, int arglen); 43extern struct ia64_boot_param *sys_fw_init (const char *args, int arglen);