diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-07-04 17:13:53 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-07-09 18:07:39 -0400 |
commit | 59337087cb33db58aa0d4463892b4475cf66a50b (patch) | |
tree | 10fe5d789fd08fab0b23e0b152397afed89862d3 /drivers/ieee1394 | |
parent | 19f00e66f8aa7ee581c6d003fd68ee9f9dee4057 (diff) |
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 <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394')
-rw-r--r-- | 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 7b5aeb39ad85..a3093b79e284 100644 --- a/drivers/ieee1394/raw1394.c +++ b/drivers/ieee1394/raw1394.c | |||
@@ -434,7 +434,11 @@ struct compat_raw1394_req { | |||
434 | 434 | ||
435 | __u64 sendb; | 435 | __u64 sendb; |
436 | __u64 recvb; | 436 | __u64 recvb; |
437 | } __attribute__((packed)); | 437 | } |
438 | #if defined(CONFIG_X86_64) || defined(CONFIG_IA64) | ||
439 | __attribute__((packed)) | ||
440 | #endif | ||
441 | ; | ||
438 | 442 | ||
439 | static const char __user *raw1394_compat_write(const char __user *buf) | 443 | static const char __user *raw1394_compat_write(const char __user *buf) |
440 | { | 444 | { |