]> git.baikalelectronics.ru Git - kernel.git/commit
x86: cleanup stack protector
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)
commit808b233e6b61d365ac4a980d86e29e118ed1dd80
tree3d6b2d04118bb61fb50cf7624aaf7f7e4f5916ce
parent45f7e76872d596372bb7c9fbf103baab4498a888
x86: cleanup stack protector

Impact: cleanup

Make the following cleanups.

* remove duplicate comment from boot_init_stack_canary() which fits
  better in the other place - cpu_idle().

* move stack_canary offset check from __switch_to() to
  boot_init_stack_canary().

Signed-off-by: Tejun Heo <tj@kernel.org>
arch/x86/include/asm/pda.h
arch/x86/include/asm/stackprotector.h
arch/x86/kernel/process_64.c