lguest: fix 'unhandled trap 13' with CONFIG_CC_STACKPROTECTOR
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 3 Jun 2009 05:22:24 +0000 (14:52 +0930)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 4 Jun 2009 18:50:06 +0000 (11:50 -0700)
We don't set up the canary; let's disable stack protector on boot.c so
we can get into lguest_init, then set it up.  As a side effect,
switch_to_new_gdt() sets up %fs for us properly too.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found