blob: ca5dc19dd461f95368b38fc9fb8c96bebd86d58d [file] [log] [blame]
Vegard Nossum77ef50a2008-06-18 17:08:48 +02001#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>
Vegard Nossum77ef50a2008-06-18 17:08:48 +020012#endif /* ASM_X86__STATFS_H */