Skip to content

Commit

Permalink
[PATCH] Fix unwinder warning in traps.c
Browse files Browse the repository at this point in the history
Fix

linux/arch/x86_64/kernel/traps.c: In function 'dump_trace':
linux/arch/x86_64/kernel/traps.c:275: warning: cast to pointer from integer of different size

with allnoconfig

Cc: jbeulich@novell.com
Signed-off-by: Andi Kleen <ak@suse.de>
  • Loading branch information
Andi Kleen authored and Andi Kleen committed Sep 26, 2006
1 parent 0637a70 commit b89ebd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/asm-x86_64/unwind.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ static inline int arch_unw_user_mode(const struct unwind_frame_info *info)

#else

#define UNW_PC(frame) ((void)(frame), 0)
#define UNW_SP(frame) ((void)(frame), 0)
#define UNW_PC(frame) ((void)(frame), 0UL)
#define UNW_SP(frame) ((void)(frame), 0UL)

static inline int arch_unw_user_mode(const void *info)
{
Expand Down

0 comments on commit b89ebd0

Please sign in to comment.