From: Jeremy Fitzhardinge Date: Tue, 8 Jul 2008 22:07:01 +0000 (-0700) Subject: xen64: add pvop for swapgs X-Git-Tag: v2.6.27-rc1~955^2~1^20~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=952d1d7055c8cbf95b4ad2f90be5ed37db8a48ee;p=pandora-kernel.git xen64: add pvop for swapgs swapgs is a no-op under Xen, because the hypervisor makes sure the right version of %gs is current when switching between user and kernel modes. This means that the swapgs "implementation" can be inlined and used when the stack is unsafe (usermode). Unfortunately, it means that disabling patching will result in a non-booting kernel... Signed-off-by: Jeremy Fitzhardinge Cc: Stephen Tweedie Cc: Eduardo Habkost Cc: Mark McLoughlin Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed