From: Jeremy Fitzhardinge Date: Fri, 30 Jan 2009 08:47:54 +0000 (+0900) Subject: x86: split loading percpu segments from loading gdt X-Git-Tag: v2.6.30-rc1~2^2~50^2~48^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11e3a840cd5b731cdd8f6f956dfae78a8046d09c;p=pandora-kernel.git 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: Jeremy Fitzhardinge Signed-off-by: Tejun Heo --- Reading git-diff-tree failed