aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2008-07-12 09:36:38 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-13 21:08:38 +0200
commitaf9ff7868f0f76d3364351b1641b9dfa99588e77 (patch)
tree4fbbf7a306a9a3ebbfbbe678396f0594bd18cb68 /include/asm-x86
parentaa92db14270b79f0f91a9060b547a46f9e2639da (diff)
x86: simplify stackprotector self-check
Clean up the code by removing no longer needed code; make sure the pda is updated and kept in sync Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/pda.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/pda.h b/include/asm-x86/pda.h
index 62b734986a4..a5ff5bb7629 100644
--- a/include/asm-x86/pda.h
+++ b/include/asm-x86/pda.h
@@ -131,4 +131,5 @@ do { \
#define PDA_STACKOFFSET (5*8)
+#define refresh_stack_canary() write_pda(stack_canary, current->stack_canary)
#endif