From: Alok Kataria Date: Tue, 4 Aug 2009 22:34:22 +0000 (-0700) Subject: x86: Fix VMI && stack protector X-Git-Tag: v2.6.31-rc6~33^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d5b005652bc5ae3e1e0efc53fd0e25a643ec506;p=pandora-kernel.git x86: Fix VMI && stack protector With CONFIG_STACK_PROTECTOR turned on, VMI doesn't boot with more than one processor. The problem is with the gs value not being initialized correctly when registering the secondary processor for VMI's case. The patch below initializes the gs value for the AP to __KERNEL_STACK_CANARY. Without this the secondary processor keeps on taking a GP on every gs access. Signed-off-by: Alok N Kataria Cc: # for v2.6.30.x LKML-Reference: <1249425262.18955.40.camel@ank32.eng.vmware.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed