mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-19 08:05:27 +08:00
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>
This commit is contained in:
parent
9d256ff51c
commit
3f0bde8353
@ -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 */
|
||||
|
@ -1,13 +0,0 @@
|
||||
#ifndef _ASM_I386_UNWIND_H
|
||||
#define _ASM_I386_UNWIND_H
|
||||
|
||||
#define UNW_PC(frame) ((void)(frame), 0)
|
||||
#define UNW_SP(frame) ((void)(frame), 0)
|
||||
#define UNW_FP(frame) ((void)(frame), 0)
|
||||
|
||||
static inline int arch_unw_user_mode(const void *info)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* _ASM_I386_UNWIND_H */
|
@ -1,12 +0,0 @@
|
||||
#ifndef _ASM_X86_64_UNWIND_H
|
||||
#define _ASM_X86_64_UNWIND_H
|
||||
|
||||
#define UNW_PC(frame) ((void)(frame), 0UL)
|
||||
#define UNW_SP(frame) ((void)(frame), 0UL)
|
||||
|
||||
static inline int arch_unw_user_mode(const void *info)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* _ASM_X86_64_UNWIND_H */
|
Loading…
Reference in New Issue
Block a user