18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci#ifndef _ASM_X86_STATFS_H
38c2ecf20Sopenharmony_ci#define _ASM_X86_STATFS_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci/*
68c2ecf20Sopenharmony_ci * We need compat_statfs64 to be packed, because the i386 ABI won't
78c2ecf20Sopenharmony_ci * add padding at the end to bring it to a multiple of 8 bytes, but
88c2ecf20Sopenharmony_ci * the x86_64 ABI will.
98c2ecf20Sopenharmony_ci */
108c2ecf20Sopenharmony_ci#define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4)))
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#include <asm-generic/statfs.h>
138c2ecf20Sopenharmony_ci#endif /* _ASM_X86_STATFS_H */
14