blob: 13c2464cd2c4bdba447c54dce78c70a44db7e468 [file] [log] [blame]
Greg Kroah-Hartman6f52b162017-11-01 15:08:43 +01001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
H. Peter Anvin1965aae2008-10-22 22:26:29 -07002#ifndef _ASM_X86_STATFS_H
3#define _ASM_X86_STATFS_H
Thomas Gleixnerd5f13542007-10-23 22:37:24 +02004
Thomas Gleixnerd5f13542007-10-23 22:37:24 +02005/*
David Woodhouse96bf7ad2008-09-01 14:10:44 +01006 * 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.
Thomas Gleixnerd5f13542007-10-23 22:37:24 +02009 */
David Woodhouse96bf7ad2008-09-01 14:10:44 +010010#define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4)))
Thomas Gleixnerd5f13542007-10-23 22:37:24 +020011
David Woodhouse96bf7ad2008-09-01 14:10:44 +010012#include <asm-generic/statfs.h>
H. Peter Anvin1965aae2008-10-22 22:26:29 -070013#endif /* _ASM_X86_STATFS_H */