x86: conditionalize stack canary handling in hot path
authorTejun Heo <tj@kernel.org>
Tue, 20 Jan 2009 03:29:19 +0000 (12:29 +0900)
committerTejun Heo <tj@kernel.org>
Tue, 20 Jan 2009 03:29:19 +0000 (12:29 +0900)
Impact: no unnecessary stack canary swapping during context switch

There's no point in moving stack_canary around during context switch
if it's not enabled.  Conditionalize it.

Signed-off-by: Tejun Heo <tj@kernel.org>

No differences found