Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136754
b: refs/heads/master
c: 76397f7
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo authored and Ingo Molnar committed Feb 9, 2009
1 parent 4ae05ad commit 3f51079
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6cd61c0baa8bce32271226198b46c67a7a05d108
refs/heads/master: 76397f72fb9f4c9a96dfe05462887811c81b0e17
7 changes: 6 additions & 1 deletion trunk/arch/x86/include/asm/stackprotector.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#ifndef _ASM_STACKPROTECTOR_H
#define _ASM_STACKPROTECTOR_H 1

#ifdef CONFIG_CC_STACKPROTECTOR

#include <asm/tsc.h>
#include <asm/processor.h>
#include <asm/percpu.h>
#include <linux/random.h>

/*
* Initialize the stackprotector canary value.
Expand Down Expand Up @@ -35,4 +39,5 @@ static __always_inline void boot_init_stack_canary(void)
percpu_write(irq_stack_union.stack_canary, canary);
}

#endif
#endif /* CC_STACKPROTECTOR */
#endif /* _ASM_STACKPROTECTOR_H */

0 comments on commit 3f51079

Please sign in to comment.