summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/pcdp.h
diff options
context:
space:
mode:
authorDavid Mosberger-Tang2005-07-13 06:51:00 +0200
committerTony Luck2005-07-13 20:56:32 +0200
commitf62c4a96f74d6c6dd56d1742697e94a5c2085e87 (patch)
tree488dc6db60c7c3e8ef10fd79f175cff1a5426a4c /drivers/firmware/pcdp.h
parent[IA64] fix call of smp_processor_id() by XPC while (diff)
downloadkernel-qcow2-linux-f62c4a96f74d6c6dd56d1742697e94a5c2085e87.tar.gz
kernel-qcow2-linux-f62c4a96f74d6c6dd56d1742697e94a5c2085e87.tar.xz
kernel-qcow2-linux-f62c4a96f74d6c6dd56d1742697e94a5c2085e87.zip
[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>
Diffstat (limited to 'drivers/firmware/pcdp.h')
-rw-r--r--drivers/firmware/pcdp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/firmware/pcdp.h b/drivers/firmware/pcdp.h
index e72cc47de33b..ce910d68bd19 100644
--- a/drivers/firmware/pcdp.h
+++ b/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