diff options
| author | 2008-07-12 09:36:38 -0700 | |
|---|---|---|
| committer | 2008-07-13 21:08:38 +0200 | |
| commit | af9ff7868f0f76d3364351b1641b9dfa99588e77 (patch) | |
| tree | 4fbbf7a306a9a3ebbfbbe678396f0594bd18cb68 /include | |
| parent | stackprotector: better self-test (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')
| -rw-r--r-- | include/asm-x86/pda.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/pda.h b/include/asm-x86/pda.h index 62b734986a44..a5ff5bb76299 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 |
