2017-11-01 14:08:43 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2008-10-23 05:26:29 +00:00
|
|
|
#ifndef _ASM_X86_STATFS_H
|
|
|
|
#define _ASM_X86_STATFS_H
|
2007-10-23 20:37:24 +00:00
|
|
|
|
|
|
|
/*
|
2008-09-01 13:10:44 +00: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-23 20:37:24 +00:00
|
|
|
*/
|
2008-09-01 13:10:44 +00:00
|
|
|
#define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4)))
|
2007-10-23 20:37:24 +00:00
|
|
|
|
2008-09-01 13:10:44 +00:00
|
|
|
#include <asm-generic/statfs.h>
|
2008-10-23 05:26:29 +00:00
|
|
|
#endif /* _ASM_X86_STATFS_H */
|