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)
commitb4a8f7a262e79ecb0b39beb1449af524a78887f8
tree57d583acc09285170a7a364e6fb4a42b1fec0a98
parentc6e50f93db5bd0895ec7c7d1b6f3886c6e1f11b6
x86: conditionalize stack canary handling in hot path

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>
arch/x86/include/asm/system.h