Skip to content
Commit fc0091b3 authored by Alex Nixon's avatar Alex Nixon Committed by Ingo Molnar
Browse files

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: default avatarAlex Nixon <alex.nixon@citrix.com>
Cc: Jeremy Fitzhardinge <Jeremy.Fitzhardinge@citrix.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 529d0e40
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment