blob: 13c2464cd2c4bdba447c54dce78c70a44db7e468 [file] [log] [blame]
Christopher Ferris25981132017-11-14 16:53:49 -08001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Christopher Ferris0437c522013-11-07 14:16:29 -08002#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 */