x86: Initialize stack canary in secondary start
authorJacob Pan <jacob.jun.pan@intel.com>
Thu, 17 Sep 2009 14:36:43 +0000 (07:36 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 20 Feb 2010 00:25:17 +0000 (16:25 -0800)
commit35f720c5930f689647d51ad77e2a8d6f0abf66c8
tree0b229f8ccb46d0cecf3698ef4cadb8232f105b58
parentd39f6495f66616b637260405d0b5dc2656bc490e
x86: Initialize stack canary in secondary start

Some secondary clockevent setup code needs to call request_irq, which
will cause fake stack check failure in schedule() if voluntary
preemption model is chosen.  It is safe to have stack canary
initialized here early, since start_secondary() does not return.

Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com>
LKML-Reference: <43F901BD926A4E43B106BF17856F07559FB80D02@orsmsx508.amr.corp.intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/smpboot.c