Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136358
b: refs/heads/master
c: b40a439
h: refs/heads/master
v: v3
  • Loading branch information
Arjan van de Ven authored and Thomas Gleixner committed May 26, 2008
1 parent 6c1910b commit c676666
Show file tree
Hide file tree
Showing 3 changed files with 5 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: b719ac56c0032bc1602914c6ea70b0f1581b08c7
refs/heads/master: b40a4392a3c262e0d1b5379b4e142a8eefa63439
2 changes: 1 addition & 1 deletion trunk/arch/x86/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ else

stackp := $(CONFIG_SHELL) $(srctree)/scripts/gcc-x86_64-has-stack-protector.sh
stackp-$(CONFIG_CC_STACKPROTECTOR) := $(shell $(stackp) \
"$(CC)" -fstack-protector )
"$(CC)" "-fstack-protector -DGCC_HAS_SP" )
stackp-$(CONFIG_CC_STACKPROTECTOR_ALL) += $(shell $(stackp) \
"$(CC)" -fstack-protector-all )

Expand Down
3 changes: 3 additions & 0 deletions trunk/kernel/panic.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,9 @@ EXPORT_SYMBOL(warn_on_slowpath);

#ifdef CONFIG_CC_STACKPROTECTOR

#ifndef GCC_HAS_SP
#warning You have selected the CONFIG_CC_STACKPROTECTOR option, but the gcc used does not support this.
#endif
static unsigned long __stack_check_testing;
/*
* Self test function for the stack-protector feature.
Expand Down

0 comments on commit c676666

Please sign in to comment.