-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is the same as the 64-bit posix_types.h, except that __kernel_[u]long_t is defined to be [unsigned] long long and therefore 64 bits. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
- Loading branch information
H. Peter Anvin
committed
Feb 20, 2012
1 parent
afead38
commit 1f5e27a
Showing
3 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 */ |