diff options
author | Andi Kleen <ak@suse.de> | 2006-01-16 00:56:39 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-16 19:27:58 (GMT) |
commit | 5f8efbb96f4b2679dcbd2c115380a47bd2089dcd (patch) | |
tree | 09b8c0684ee8e943d6199e2e4ebc21e5ce0062c9 /include/asm-x86_64/page.h | |
parent | aa41eb9915de74fc6935792973bac4bd777ce218 (diff) | |
download | linux-5f8efbb96f4b2679dcbd2c115380a47bd2089dcd.tar.xz |
[PATCH] x86_64: Allow nesting of int3 by default for kprobes
This unbreaks recursive kprobes which didn't work anymore
due to an earlier patch which converted the debug entry point
to use an IST.
This also allows nesting of the debug entry point too.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64/page.h')
-rw-r--r-- | include/asm-x86_64/page.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-x86_64/page.h b/include/asm-x86_64/page.h index dcbb4fc..615e3e4 100644 --- a/include/asm-x86_64/page.h +++ b/include/asm-x86_64/page.h @@ -26,6 +26,13 @@ #define IRQSTACK_ORDER 2 #define IRQSTACKSIZE (PAGE_SIZE << IRQSTACK_ORDER) +#define STACKFAULT_STACK 1 +#define DOUBLEFAULT_STACK 2 +#define NMI_STACK 3 +#define DEBUG_STACK 4 +#define MCE_STACK 5 +#define N_EXCEPTION_STACKS 5 /* hw limit: 7 */ + #define LARGE_PAGE_MASK (~(LARGE_PAGE_SIZE-1)) #define LARGE_PAGE_SIZE (1UL << PMD_SHIFT) |