Commit f62c4a96 authored by David Mosberger-Tang's avatar David Mosberger-Tang Committed by Tony Luck

[IA64] Make PCDP work again.

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: default avatarDavid Mosberger-Tang <David.Mosberger@acm.org>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 59a0a8aa
...@@ -52,6 +52,8 @@ struct pcdp_uart { ...@@ -52,6 +52,8 @@ struct pcdp_uart {
u32 clock_rate; u32 clock_rate;
u8 pci_prog_intfc; u8 pci_prog_intfc;
u8 flags; u8 flags;
u16 conout_index;
u32 reserved;
} __attribute__((packed)); } __attribute__((packed));
#define PCDP_IF_PCI 1 #define PCDP_IF_PCI 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment