blob: 4c935caaef2dea166878bc9ca1dac7afd09ba3c9 [file] [log] [blame]
Thomas Gleixnerd5f13542007-10-23 22:37:24 +02001#ifndef _ASM_X86_STATFS_H
2#define _ASM_X86_STATFS_H
3
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>
Thomas Gleixner96a388d2007-10-11 11:20:03 +020012#endif