Skip to content

Commit

Permalink
x86: unify include/asm/unwind_32/64.h
Browse files Browse the repository at this point in the history
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
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 30 deletions.
18 changes: 13 additions & 5 deletions include/asm-x86/unwind.h
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 */
13 changes: 0 additions & 13 deletions include/asm-x86/unwind_32.h

This file was deleted.

12 changes: 0 additions & 12 deletions include/asm-x86/unwind_64.h

This file was deleted.

0 comments on commit 3f0bde8

Please sign in to comment.