blob: 2d0adbf99a8e2ce94a7e5a3a13a936c16283b815 [file] [log] [blame]
H. Peter Anvin1965aae2008-10-22 22:26:29 -07001#ifndef _ASM_X86_STATFS_H
2#define _ASM_X86_STATFS_H
Thomas Gleixnerd5f13542007-10-23 22:37:24 +02003
Thomas Gleixnerd5f13542007-10-23 22:37:24 +02004/*
David Woodhouse96bf7ad2008-09-01 14:10:44 +01005 * We need compat_statfs64 to be packed, because the i386 ABI won't
6 * add padding at the end to bring it to a multiple of 8 bytes, but
7 * the x86_64 ABI will.
Thomas Gleixnerd5f13542007-10-23 22:37:24 +02008 */
David Woodhouse96bf7ad2008-09-01 14:10:44 +01009#define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4)))
Thomas Gleixnerd5f13542007-10-23 22:37:24 +020010
David Woodhouse96bf7ad2008-09-01 14:10:44 +010011#include <asm-generic/statfs.h>
H. Peter Anvin1965aae2008-10-22 22:26:29 -070012#endif /* _ASM_X86_STATFS_H */