Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297705
b: refs/heads/master
c: 1f5e27a
h: refs/heads/master
i:
  297703: 729d767
v: v3
  • Loading branch information
H. Peter Anvin committed Feb 20, 2012
1 parent d2b9653 commit baf98d3
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: afead38d011ab2f333d12ebb6752ed9baa53b667
refs/heads/master: 1f5e27a90add2fe2a1c11508f68d377e3ddcf9ab
1 change: 1 addition & 0 deletions trunk/arch/x86/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ header-y += msr.h
header-y += mtrr.h
header-y += posix_types_32.h
header-y += posix_types_64.h
header-y += posix_types_x32.h
header-y += prctl.h
header-y += processor-flags.h
header-y += ptrace-abi.h
Expand Down
4 changes: 3 additions & 1 deletion trunk/arch/x86/include/asm/posix_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
#else
# ifdef __i386__
# include "posix_types_32.h"
# else
# elif defined(__LP64__)
# include "posix_types_64.h"
# else
# include "posix_types_x32.h"
# endif
#endif
19 changes: 19 additions & 0 deletions trunk/arch/x86/include/asm/posix_types_x32.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#ifndef _ASM_X86_POSIX_TYPES_X32_H
#define _ASM_X86_POSIX_TYPES_X32_H

/*
* This file is only used by user-level software, so you need to
* be a little careful about namespace pollution etc. Also, we cannot
* assume GCC is being used.
*
* These types should generally match the ones used by the 64-bit kernel,
*
*/

typedef long long __kernel_long_t;
typedef unsigned long long __kernel_ulong_t;
#define __kernel_long_t __kernel_long_t

#include <asm/posix_types_64.h>

#endif /* _ASM_X86_POSIX_TYPES_X32_H */

0 comments on commit baf98d3

Please sign in to comment.