summaryrefslogtreecommitdiffstats
path: root/arch/ia64/oprofile
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2011-04-07 20:05:56 +0200
committerTony Luck <tony.luck@intel.com>2011-04-07 20:05:56 +0200
commitff00c2a5b2308219ab952d01e5bb17b9ea772d7e (patch)
treed1257157d162233db48386f92e4dd9d24a5d7272 /arch/ia64/oprofile
parentLinux 2.6.39-rc2 (diff)
downloadlinux-ff00c2a5b2308219ab952d01e5bb17b9ea772d7e.tar.xz
linux-ff00c2a5b2308219ab952d01e5bb17b9ea772d7e.zip
[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: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/oprofile')
-rw-r--r--arch/ia64/oprofile/backtrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/oprofile/backtrace.c b/arch/ia64/oprofile/backtrace.c
index 5cdd7e4a597c..f7b798993cea 100644
--- a/arch/ia64/oprofile/backtrace.c
+++ b/arch/ia64/oprofile/backtrace.c
@@ -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 */