Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=59337087cb33db58aa0d4463892b4475cf66a50b
Commit:     59337087cb33db58aa0d4463892b4475cf66a50b
Parent:     19f00e66f8aa7ee581c6d003fd68ee9f9dee4057
Author:     Stefan Richter <[EMAIL PROTECTED]>
AuthorDate: Wed Jul 4 23:13:53 2007 +0200
Committer:  Stefan Richter <[EMAIL PROTECTED]>
CommitDate: Tue Jul 10 00:07:39 2007 +0200

    ieee1394: raw1394: fix a 32/64-bits compat fix
    
    I was told that only i386 aligns 64 bit integers at 4 bytes boundaries
    while all other architectures (32 bit architectures with 64 bit
    siblings) align it on 8 bytes boundaries.
    
    Signed-off-by: Stefan Richter <[EMAIL PROTECTED]>
---
 drivers/ieee1394/raw1394.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/drivers/ieee1394/raw1394.c b/drivers/ieee1394/raw1394.c
index 7b5aeb3..a3093b7 100644
--- a/drivers/ieee1394/raw1394.c
+++ b/drivers/ieee1394/raw1394.c
@@ -434,7 +434,11 @@ struct compat_raw1394_req {
 
        __u64 sendb;
        __u64 recvb;
-} __attribute__((packed));
+}
+#if defined(CONFIG_X86_64) || defined(CONFIG_IA64)
+__attribute__((packed))
+#endif
+;
 
 static const char __user *raw1394_compat_write(const char __user *buf)
 {
-
To unsubscribe from this list: send the line "unsubscribe git-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