linux-generic: fix alignment of struct stat/statfs for nios2
authorChung-Lin Tang <cltang@codesourcery.com>
Wed, 20 Nov 2013 21:12:18 +0000 (16:12 -0500)
committerChris Metcalf <cmetcalf@tilera.com>
Wed, 20 Nov 2013 21:12:18 +0000 (16:12 -0500)
commit7cf8ac4c3179540c63865f7133617684169928c9
tree58164760e4e1d6ecbbbaabcb2e90e581a226f28e
parent4b98b2dcdd89cbef1d2681a8cf0f16a7b3b649af
linux-generic: fix alignment of struct stat/statfs for nios2

The hard alignment of 8 was appropriate for most platforms for
which 8-byte values are 8-byte aligned, but this is not true
for the nios2 platform, so only align to the alignment of the
8-byte type on the platform.

Remove the explicit alignment of struct statfs as it's redundant.
ports/ChangeLog.linux-generic
ports/sysdeps/unix/sysv/linux/generic/bits/stat.h
ports/sysdeps/unix/sysv/linux/generic/bits/statfs.h