From fa4f1919c60a118c93369841b8d540cb02ab379c Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 23 Apr 2012 14:51:14 -0700 Subject: [PATCH] --- yaml --- r: 299635 b: refs/heads/master c: 98e5272fe70d62e193f70acf9951667beab27aba h: refs/heads/master i: 299633: 7bb183c19c3d41f3136219f08192cbc43f216a57 299631: 632d1af5699bea5a7861764dd7b362d2210e252f v: v3 --- [refs] | 2 +- trunk/arch/x86/include/asm/posix_types.h | 6 +++--- trunk/arch/x86/include/asm/sigcontext.h | 2 +- trunk/arch/x86/include/asm/unistd.h | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/[refs] b/[refs] index 04e612db8765..b8ba7da5220b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: cd74257b974d6d26442c97891c4d05772748b177 +refs/heads/master: 98e5272fe70d62e193f70acf9951667beab27aba diff --git a/trunk/arch/x86/include/asm/posix_types.h b/trunk/arch/x86/include/asm/posix_types.h index 3427b7798dbc..7ef7c3020e5c 100644 --- a/trunk/arch/x86/include/asm/posix_types.h +++ b/trunk/arch/x86/include/asm/posix_types.h @@ -7,9 +7,9 @@ #else # ifdef __i386__ # include "posix_types_32.h" -# elif defined(__LP64__) -# include "posix_types_64.h" -# else +# elif defined(__ILP32__) # include "posix_types_x32.h" +# else +# include "posix_types_64.h" # endif #endif diff --git a/trunk/arch/x86/include/asm/sigcontext.h b/trunk/arch/x86/include/asm/sigcontext.h index 4a085383af27..5ca71c065eef 100644 --- a/trunk/arch/x86/include/asm/sigcontext.h +++ b/trunk/arch/x86/include/asm/sigcontext.h @@ -257,7 +257,7 @@ struct sigcontext { __u64 oldmask; __u64 cr2; struct _fpstate __user *fpstate; /* zero when no FPU context */ -#ifndef __LP64__ +#ifdef __ILP32__ __u32 __fpstate_pad; #endif __u64 reserved1[8]; diff --git a/trunk/arch/x86/include/asm/unistd.h b/trunk/arch/x86/include/asm/unistd.h index 37cdc9d99bb1..4437001d8e3d 100644 --- a/trunk/arch/x86/include/asm/unistd.h +++ b/trunk/arch/x86/include/asm/unistd.h @@ -63,10 +63,10 @@ #else # ifdef __i386__ # include -# elif defined(__LP64__) -# include -# else +# elif defined(__ILP32__) # include +# else +# include # endif #endif