tree 488dc6db60c7c3e8ef10fd79f175cff1a5426a4c
parent 59a0a8aa6ab6e46926e8d12694593267c0869440
author David Mosberger-Tang <[EMAIL PROTECTED]> Wed, 13 Jul 2005 11:51:00 -0700
committer Tony Luck <[EMAIL PROTECTED]> Thu, 14 Jul 2005 01:56:32 -0700

[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 <[EMAIL PROTECTED]>
Signed-off-by: Tony Luck <[EMAIL PROTECTED]>

 drivers/firmware/pcdp.h |    2 ++
 1 files changed, 2 insertions(+)

diff --git a/drivers/firmware/pcdp.h b/drivers/firmware/pcdp.h
--- 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
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to