xen: rearrange things to fix stackprotector
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Mon, 17 Aug 2009 19:26:53 +0000 (12:26 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 20 Aug 2009 00:09:28 +0000 (17:09 -0700)
commitce2eef33d35cd7b932492b5a81fb0febd2b323cd
tree46a6e2f61ae26428f95f991f9c61a4a01f299a06
parent5416c2663517ebd0be0664c4d4ce3df0b116c059
xen: rearrange things to fix stackprotector

Make sure the stack-protector segment registers are properly set up
before calling any functions which may have stack-protection compiled
into them.

[ Impact: prevent Xen early-boot crash when stack-protector is enabled ]
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/xen/Makefile
arch/x86/xen/enlighten.c