Skip to content
Commit 11e3a840 authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge Committed by Tejun Heo
Browse files

x86: split loading percpu segments from loading gdt



Impact: split out a function, no functional change

Xen needs to be able to access percpu data from very early on.  For
various reasons, it cannot also load the gdt at that time.   It does,
however, have a pefectly functional gdt at that point, so there's no
pressing need to reload the gdt.

Split the function to load the segment registers off, so Xen can call
it directly.

Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 552be871
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