Skip to content
Snippets Groups Projects
Commit ff00c2a5 authored by Tony Luck's avatar Tony Luck
Browse files

[IA64] fix build warning in arch/ia64/oprofile/backtrace.c


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: default avatarTony Luck <tony.luck@intel.com>
parent 6221f222
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ typedef struct ...@@ -29,7 +29,7 @@ typedef struct
unsigned int depth; unsigned int depth;
struct pt_regs *regs; struct pt_regs *regs;
struct unw_frame_info frame; 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; } ia64_backtrace_t;
/* Returns non-zero if the PC is in the Interrupt Vector Table */ /* Returns non-zero if the PC is in the Interrupt Vector Table */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment