-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86: unify include/asm/unwind_32/64.h
32bit has an extra UNW_FP define, which does not hurt. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
- Loading branch information
Thomas Gleixner
authored and
Thomas Gleixner
committed
Oct 17, 2007
1 parent
9d256ff
commit 3f0bde8
Showing
3 changed files
with
13 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
#ifdef CONFIG_X86_32 | ||
# include "unwind_32.h" | ||
#else | ||
# include "unwind_64.h" | ||
#endif | ||
#ifndef _ASM_X86_UNWIND_H | ||
#define _ASM_X86_UNWIND_H | ||
|
||
#define UNW_PC(frame) ((void)(frame), 0UL) | ||
#define UNW_SP(frame) ((void)(frame), 0UL) | ||
#define UNW_FP(frame) ((void)(frame), 0UL) | ||
|
||
static inline int arch_unw_user_mode(const void *info) | ||
{ | ||
return 0; | ||
} | ||
|
||
#endif /* _ASM_X86_UNWIND_H */ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.