git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This stack check implementation leverages the compiler's profiling (gcc -p)
[linux-2.6.git]
/
include
/
asm-i386
/
thread_info.h
diff --git
a/include/asm-i386/thread_info.h
b/include/asm-i386/thread_info.h
index
d4fe6a5
..
da74573
100644
(file)
--- a/
include/asm-i386/thread_info.h
+++ b/
include/asm-i386/thread_info.h
@@
-56,6
+56,7
@@
struct thread_info {
#define PREEMPT_ACTIVE 0x4000000
#define THREAD_SIZE (1<<CONFIG_STACK_SIZE_SHIFT)
#define STACK_WARN (CONFIG_STACK_WARN)
+#define STACK_PANIC (0x200ul)
/*
* macros/functions for gaining access to the thread information structure