diff options
Diffstat (limited to 'include/asm-x86/unwind.h')
-rw-r--r-- | include/asm-x86/unwind.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/include/asm-x86/unwind.h b/include/asm-x86/unwind.h index 7e4d7ad55208..8b064bd9c553 100644 --- a/include/asm-x86/unwind.h +++ b/include/asm-x86/unwind.h | |||
@@ -1,5 +1,13 @@ | |||
1 | #ifdef CONFIG_X86_32 | 1 | #ifndef _ASM_X86_UNWIND_H |
2 | # include "unwind_32.h" | 2 | #define _ASM_X86_UNWIND_H |
3 | #else | 3 | |
4 | # include "unwind_64.h" | 4 | #define UNW_PC(frame) ((void)(frame), 0UL) |
5 | #endif | 5 | #define UNW_SP(frame) ((void)(frame), 0UL) |
6 | #define UNW_FP(frame) ((void)(frame), 0UL) | ||
7 | |||
8 | static inline int arch_unw_user_mode(const void *info) | ||
9 | { | ||
10 | return 0; | ||
11 | } | ||
12 | |||
13 | #endif /* _ASM_X86_UNWIND_H */ | ||