Skip to content
Commit c6e50f93 authored by Tejun Heo's avatar Tejun Heo
Browse files

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: default avatarTejun Heo <tj@kernel.org>
parent 7890ba8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment