H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 1 | #ifndef _ASM_X86_STATFS_H |
| 2 | #define _ASM_X86_STATFS_H |
Thomas Gleixner | d5f1354 | 2007-10-23 22:37:24 +0200 | [diff] [blame] | 3 | |
Thomas Gleixner | d5f1354 | 2007-10-23 22:37:24 +0200 | [diff] [blame] | 4 | /* |
David Woodhouse | 96bf7ad | 2008-09-01 14:10:44 +0100 | [diff] [blame] | 5 | * 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 Gleixner | d5f1354 | 2007-10-23 22:37:24 +0200 | [diff] [blame] | 8 | */ |
David Woodhouse | 96bf7ad | 2008-09-01 14:10:44 +0100 | [diff] [blame] | 9 | #define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4))) |
Thomas Gleixner | d5f1354 | 2007-10-23 22:37:24 +0200 | [diff] [blame] | 10 | |
David Woodhouse | 96bf7ad | 2008-09-01 14:10:44 +0100 | [diff] [blame] | 11 | #include <asm-generic/statfs.h> |
H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 12 | #endif /* _ASM_X86_STATFS_H */ |