OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19f00e6
)
ieee1394: raw1394: fix a 32/64-bits compat fix
author
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Wed, 4 Jul 2007 21:13:53 +0000
(23:13 +0200)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Mon, 9 Jul 2007 22:07:39 +0000
(
00:07
+0200)
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>
drivers/ieee1394/raw1394.c
patch
|
blob
|
history
diff --git
a/drivers/ieee1394/raw1394.c
b/drivers/ieee1394/raw1394.c
index
7b5aeb3
..
a3093b7
100644
(file)
--- 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)
{