Auto-update from upstream
authorTony Luck <tony.luck@intel.com>
Thu, 18 Aug 2005 23:44:15 +0000 (16:44 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 18 Aug 2005 23:44:15 +0000 (16:44 -0700)
arch/ia64/hp/sim/boot/bootloader.c
include/asm-ia64/io.h

index 51a7b7b4dd0e7c5720683a40637cdb79a31ec4c4..a7bed60b69f9e8de9a49944e22d03fb388ae93c7 100644 (file)
@@ -30,10 +30,14 @@ struct disk_req {
        unsigned len;
 };
 
+/* SSC_WAIT_COMPLETION appears to want this large alignment.  gcc < 4
+ * seems to give it by default, however gcc > 4 is smarter and may
+ * not.
+ */
 struct disk_stat {
        int fd;
        unsigned count;
-};
+} __attribute__ ((aligned (16)));
 
 extern void jmp_to_kernel (unsigned long bp, unsigned long e_entry);
 extern struct ia64_boot_param *sys_fw_init (const char *args, int arglen);
index 491e9d1fc538d0e31cbc2ecbbf15016cd6d7d194..54e7637a326c4e1ffb6aab9835abab5f384e3be0 100644 (file)
@@ -120,14 +120,6 @@ static inline void ___ia64_mmiowb(void)
        ia64_mfa();
 }
 
-static inline const unsigned long
-__ia64_get_io_port_base (void)
-{
-       extern unsigned long ia64_iobase;
-
-       return ia64_iobase;
-}
-
 static inline void*
 __ia64_mk_io_addr (unsigned long port)
 {