summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_prof.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-12-16 22:08:32 +0000
committerjhb <jhb@FreeBSD.org>2005-12-16 22:08:32 +0000
commit60c3b40e9e1c32336d40b84723f4c5c168eb11cd (patch)
tree378745ee53eb58d390502f4d1178a6971f5a8bee /sys/kern/subr_prof.c
parent963dea2ab7cde16cd095e9df7f3f79c243580162 (diff)
downloadFreeBSD-src-60c3b40e9e1c32336d40b84723f4c5c168eb11cd.zip
FreeBSD-src-60c3b40e9e1c32336d40b84723f4c5c168eb11cd.tar.gz
Change the addupc_*() functions to use the uintfptr_t type for pc rather
than uintptr_t as that is technically more correct.
Diffstat (limited to 'sys/kern/subr_prof.c')
-rw-r--r--sys/kern/subr_prof.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_prof.c b/sys/kern/subr_prof.c
index 0e2379d..12737ae 100644
--- a/sys/kern/subr_prof.c
+++ b/sys/kern/subr_prof.c
@@ -461,7 +461,7 @@ profil(td, uap)
* inaccurate.
*/
void
-addupc_intr(struct thread *td, uintptr_t pc, u_int ticks)
+addupc_intr(struct thread *td, uintfptr_t pc, u_int ticks)
{
struct uprof *prof;
caddr_t addr;
@@ -495,7 +495,7 @@ addupc_intr(struct thread *td, uintptr_t pc, u_int ticks)
* update fails, we simply turn off profiling.
*/
void
-addupc_task(struct thread *td, uintptr_t pc, u_int ticks)
+addupc_task(struct thread *td, uintfptr_t pc, u_int ticks)
{
struct proc *p = td->td_proc;
struct uprof *prof;
OpenPOWER on IntegriCloud