Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=19f00e66f8aa7ee581c6d003fd68ee9f9dee4057
Commit:     19f00e66f8aa7ee581c6d003fd68ee9f9dee4057
Parent:     650c12c528d3e0ac69405dd35d3bc8a7228e49f2
Author:     Stefan Richter <[EMAIL PROTECTED]>
AuthorDate: Mon May 21 18:52:06 2007 +0200
Committer:  Stefan Richter <[EMAIL PROTECTED]>
CommitDate: Tue Jul 10 00:07:38 2007 +0200

    ieee1394: raw1394: Add ioctl() for 32bit userland on 64bit kernel, amendment
    
    Pointed out by Arnd Bergmann:  PPC32 aligns this at 64bit, IA32 packs
    it.  A kernel-wide available __compat_u64 which is 4-byte aligned on
    AMD64 and IA64 would be nicer though.
    
    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 151a48f..7b5aeb3 100644
--- a/drivers/ieee1394/raw1394.c
+++ b/drivers/ieee1394/raw1394.c
@@ -2814,7 +2814,11 @@ struct raw1394_iso_packets32 {
 struct raw1394_cycle_timer32 {
         __u32 cycle_timer;
         __u64 local_time;
-} __attribute__((packed));
+}
+#if defined(CONFIG_X86_64) || defined(CONFIG_IA64)
+__attribute__((packed))
+#endif
+;
 
 #define RAW1394_IOC_ISO_RECV_PACKETS32          \
         _IOW ('#', 0x25, struct raw1394_iso_packets32)
-
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