[IA64] Make PCDP work again.
authorDavid Mosberger-Tang <David.Mosberger@acm.org>
Wed, 13 Jul 2005 04:51:00 +0000 (21:51 -0700)
committerTony Luck <tony.luck@intel.com>
Wed, 13 Jul 2005 18:56:32 +0000 (11:56 -0700)
Mark's patch added "attribute((packed))" for pcdp_uart, without
accounting for the fact that the structure definition _relied_ on
implicit padding by 6 bytes.  Fix is to make the padding explicit.

Signed-off-by: David Mosberger-Tang <David.Mosberger@acm.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
drivers/firmware/pcdp.h

index e72cc47..ce910d6 100644 (file)
@@ -52,6 +52,8 @@ struct pcdp_uart {
        u32                             clock_rate;
        u8                              pci_prog_intfc;
        u8                              flags;
+       u16                             conout_index;
+       u32                             reserved;
 } __attribute__((packed));
 
 #define PCDP_IF_PCI    1