x86: Move loading of GTD to C code
authorGraeme Russ <graeme.russ@gmail.com>
Thu, 7 Oct 2010 09:03:21 +0000 (20:03 +1100)
committerGraeme Russ <graeme.russ@gmail.com>
Thu, 7 Oct 2010 09:03:21 +0000 (20:03 +1100)
commit59c6d0ef9af5fe0daf1b95992d061a10b33e23d4
treed3fd5a9f7d2b653ad23563f25b920482121b9535
parentd664adb6bb7243fc9be1cb242a18a76901bc5c3a
x86: Move loading of GTD to C code

Linux has C macros and code to load the GTD after switching to Protected
Mode. Using these greatly simplifies the assembler code
arch/i386/cpu/cpu.c
arch/i386/cpu/start.S