x86: common thread_info definitions
authorChristoph Lameter <clameter@sgi.com>
Tue, 29 Apr 2008 01:52:35 +0000 (18:52 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 12 May 2008 19:28:03 +0000 (21:28 +0200)
commit006c484bb3d9547e82a33a09668c9b54b912c8fb
tree8cf69d55b1582ef90df1fb2f533d2f2f8e4a9c80
parentf2ea3b1d4d7ab66d86da57899993282f3deb1f74
x86: common thread_info definitions

Merge the thread_info definition into one structure definition for both arches.

The __u32 is equal to unsigned long for 32 bit.

sysenter_return is used both for the IA32 emulation for 64 and x86_32.
Avoid complicated #ifdef by simply always including it.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/thread_info.h