提交 59337087 编写于 作者: S Stefan Richter

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: NStefan Richter <stefanr@s5r6.in-berlin.de>
上级 19f00e66
...@@ -434,7 +434,11 @@ struct compat_raw1394_req { ...@@ -434,7 +434,11 @@ struct compat_raw1394_req {
__u64 sendb; __u64 sendb;
__u64 recvb; __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) static const char __user *raw1394_compat_write(const char __user *buf)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册