diff options
author | Lans Zhang <lans.zhang2008@gmail.com> | 2013-03-01 09:20:39 +0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-03-01 10:18:33 -0800 |
commit | 2dead15fb8f6522b96c913603b5ad0b5c7d01f49 (patch) | |
tree | eaefab90bf50b16bf8c6a62d7168d48c7a9a3130 /Documentation | |
parent | de1a2262b006220dae2561a299a6ea128c46f4fe (diff) |
x86_64: Use __BOOT_DS instead_of __KERNEL_DS for safety
In startup_32, the running code still uses the initial GDT
located in setup. Thus, __BOOT_DS is preferred. Currently
__KERNEL_DS is lucky to equal to __BOOT_DS, but this is
not always a safe way.
Signed-off-by: Lans Zhang <lans.zhang2008@gmail.com>
Link: http://lkml.kernel.org/r/51300267.6000008@gmail.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions