Skip to content

Commit

Permalink
[IA64] fix build warning in arch/ia64/oprofile/backtrace.c
Browse files Browse the repository at this point in the history
arch/ia64/oprofile/backtrace.c:63: warning: comparison of distinct pointer types lacks a cast

Comparing a "u64 *" with an "unsigned long *". Make them match.

Signed-off-by: Tony Luck <[email protected]>
  • Loading branch information
aegl committed Apr 7, 2011
1 parent 6221f22 commit ff00c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ia64/oprofile/backtrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ typedef struct
unsigned int depth;
struct pt_regs *regs;
struct unw_frame_info frame;
u64 *prev_pfs_loc; /* state for WAR for old spinlock ool code */
unsigned long *prev_pfs_loc; /* state for WAR for old spinlock ool code */
} ia64_backtrace_t;

/* Returns non-zero if the PC is in the Interrupt Vector Table */
Expand Down

0 comments on commit ff00c2a

Please sign in to comment.