[PATCH v5 02/13] x86, boot: Move lldt/ltr out of 64bit code section

2012-11-27 Thread Yinghai Lu
commit 08da5a2ca x86_64: Early segment setup for VT add lldt/ltr to clean more segments. Those code are put in code64, and it is using gdt that is only loaded from code32 path. That breaks booting with 64bit bootloader that does not go through code32 path. It get at startup_64 directly,

[PATCH v5 02/13] x86, boot: Move lldt/ltr out of 64bit code section

2012-11-27 Thread Yinghai Lu
commit 08da5a2ca x86_64: Early segment setup for VT add lldt/ltr to clean more segments. Those code are put in code64, and it is using gdt that is only loaded from code32 path. That breaks booting with 64bit bootloader that does not go through code32 path. It get at startup_64 directly,