瀏覽代碼

[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: David Mosberger-Tang <David.Mosberger@acm.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
David Mosberger-Tang 20 年之前
父節點
當前提交
f62c4a96f7
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      drivers/firmware/pcdp.h

+ 2 - 0
drivers/firmware/pcdp.h

@@ -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