xref: /linux/arch/x86/include/uapi/asm/statfs.h (revision 6fdcba32711044c35c0e1b094cbd8f3f0b4472c9)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _ASM_X86_STATFS_H
3 #define _ASM_X86_STATFS_H
4 
5 /*
6  * We need compat_statfs64 to be packed, because the i386 ABI won't
7  * add padding at the end to bring it to a multiple of 8 bytes, but
8  * the x86_64 ABI will.
9  */
10 #define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4)))
11 
12 #include <asm-generic/statfs.h>
13 #endif /* _ASM_X86_STATFS_H */
14