Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+5 -1
+5 -1
drivers/ieee1394/raw1394.c
··· 434 434 435 435 __u64 sendb; 436 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 443 static const char __user *raw1394_compat_write(const char __user *buf) 440 444 {