summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/pda.h
diff options
context:
space:
mode:
authorTejun Heo2009-01-20 04:29:19 +0100
committerTejun Heo2009-01-20 04:29:19 +0100
commitc6e50f93db5bd0895ec7c7d1b6f3886c6e1f11b6 (patch)
tree3d6b2d04118bb61fb50cf7624aaf7f7e4f5916ce /arch/x86/include/asm/pda.h
parentMerge branch 'stackprotector' into core/percpu (diff)
downloadkernel-qcow2-linux-c6e50f93db5bd0895ec7c7d1b6f3886c6e1f11b6.tar.gz
kernel-qcow2-linux-c6e50f93db5bd0895ec7c7d1b6f3886c6e1f11b6.tar.xz
kernel-qcow2-linux-c6e50f93db5bd0895ec7c7d1b6f3886c6e1f11b6.zip
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>
Diffstat (limited to 'arch/x86/include/asm/pda.h')
-rw-r--r--arch/x86/include/asm/pda.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/pda.h b/arch/x86/include/asm/pda.h
index 5976cd803e9a..4a8c9d382c93 100644
--- a/arch/x86/include/asm/pda.h
+++ b/arch/x86/include/asm/pda.h
@@ -40,6 +40,4 @@ extern void pda_init(int);
#endif
-#define refresh_stack_canary() write_pda(stack_canary, current->stack_canary)
-
#endif /* _ASM_X86_PDA_H */