traps: x86: make traps_32.c and traps_64.c equal
commit081f75bbdc86de53537e1b5aca01de72bd2fea6b
authorAlexander van Heukelum <heukelum@fastmail.fm>
Fri, 3 Oct 2008 20:00:39 +0000 (3 22:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 08:33:28 +0000 (13 10:33 +0200)
tree739b7954495fb63559b0184b76cc32c63aa2bdcd
parentc1d518c8422ff7d3f377958771b265753028579c
traps: x86: make traps_32.c and traps_64.c equal

Use CONFIG_X86_64/CONFIG_X86_32 to condtionally compile the
parts needed for x86_64 or i386 only.

Runs a small userspace for a number of minimal configurations
and boots the defconfigs.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/traps_32.c
arch/x86/kernel/traps_64.c