diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-07-27 17:42:32 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-28 14:26:26 +0200 |
commit | 64f53a0492b4bc11868307990bb8f7c1e0764f89 (patch) | |
tree | 60348b0c26e945e2b91da2521af5b300979cdc04 /arch/x86/xen/enlighten.c | |
parent | x86, xen: Use native_pte_flags instead of native_pte_val for .pte_flags (diff) | |
download | linux-64f53a0492b4bc11868307990bb8f7c1e0764f89.tar.xz linux-64f53a0492b4bc11868307990bb8f7c1e0764f89.zip |
x86: fix initialization of 'l' bit in ldt descriptors
Make sure that fill_ldt() initializes the 'l' bit in the descriptor.
It always sets it to 0, ignoring 'lm' in user_desc, preserving original
x86_64 behaviour.
Previously it was leaving 'l' uninitialized.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Glauber de Oliveira Costa <gcosta@redhat.com>
Diffstat (limited to 'arch/x86/xen/enlighten.c')
0 files changed, 0 insertions, 0 deletions