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)
commitc6e50f93db5bd0895ec7c7d1b6f3886c6e1f11b6
tree3d6b2d04118bb61fb50cf7624aaf7f7e4f5916ce
parent7890ba8c87604ca4c2c73f7de846bf5305d743e4
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