Christopher Ferris | 2598113 | 2017-11-14 16:53:49 -0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
Christopher Ferris | 0437c52 | 2013-11-07 14:16:29 -0800 | [diff] [blame] | 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 */ |