2017-11-01 21:08:43 +07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2008-10-23 12:26:29 +07:00
|
|
|
#ifndef _ASM_X86_STATFS_H
|
|
|
|
#define _ASM_X86_STATFS_H
|
2007-10-24 03:37:24 +07:00
|
|
|
|
|
|
|
/*
|
2008-09-01 20:10:44 +07:00
|
|
|
* We need compat_statfs64 to be packed, because the i386 ABI won't
|
|
|
|
* add padding at the end to bring it to a multiple of 8 bytes, but
|
|
|
|
* the x86_64 ABI will.
|
2007-10-24 03:37:24 +07:00
|
|
|
*/
|
2008-09-01 20:10:44 +07:00
|
|
|
#define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4)))
|
2007-10-24 03:37:24 +07:00
|
|
|
|
2008-09-01 20:10:44 +07:00
|
|
|
#include <asm-generic/statfs.h>
|
2008-10-23 12:26:29 +07:00
|
|
|
#endif /* _ASM_X86_STATFS_H */
|