diff options
-rw-r--r-- | arch/ia64/hp/sim/boot/bootloader.c | 6 | ||||
-rw-r--r-- | include/asm-ia64/io.h | 8 |
2 files changed, 5 insertions, 9 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); |
diff --git a/include/asm-ia64/io.h b/include/asm-ia64/io.h index 491e9d1fc538..54e7637a326c 100644 --- a/include/asm-ia64/io.h +++ b/include/asm-ia64/io.h | |||
@@ -120,14 +120,6 @@ static inline void ___ia64_mmiowb(void) | |||
120 | ia64_mfa(); | 120 | ia64_mfa(); |
121 | } | 121 | } |
122 | 122 | ||
123 | static inline const unsigned long | ||
124 | __ia64_get_io_port_base (void) | ||
125 | { | ||
126 | extern unsigned long ia64_iobase; | ||
127 | |||
128 | return ia64_iobase; | ||
129 | } | ||
130 | |||
131 | static inline void* | 123 | static inline void* |
132 | __ia64_mk_io_addr (unsigned long port) | 124 | __ia64_mk_io_addr (unsigned long port) |
133 | { | 125 | { |