commit | fc0091b3c86396afc8e6c273aff21671cf882ee1 | [log] [tgz] |
---|---|---|
author | Alex Nixon <alex.nixon@citrix.com> | Fri Aug 15 17:21:14 2008 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Aug 15 19:16:05 2008 +0200 |
tree | 0f9353c2211972a5123edc1844e5d665e690cbb7 | |
parent | 529d0e402eee62b7bfc89ec5b763a9a875bb49fb [diff] |
x86: change init_gdt to update the gdt via write_gdt, rather than a direct write. By writing directly, a memory access violation can occur whilst hotplugging a CPU if the entry was previously marked read-only. Signed-off-by: Alex Nixon <alex.nixon@citrix.com> Cc: Jeremy Fitzhardinge <Jeremy.Fitzhardinge@citrix.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>