summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2005-12-16 22:08:32 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2005-12-16 22:08:32 +0000
commitcb49fcd1454855d23a1f4a88de686cc296986aa0 (patch)
tree378745ee53eb58d390502f4d1178a6971f5a8bee
parent8088aac4c46bd657232c6928367c78833e5de53b (diff)
Notes
-rw-r--r--sys/kern/subr_prof.c4
-rw-r--r--sys/sys/resourcevar.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/subr_prof.c b/sys/kern/subr_prof.c
index 0e2379d52cb3..12737ae0b8db 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;
diff --git a/sys/sys/resourcevar.h b/sys/sys/resourcevar.h
index 57d0fe73b336..ad8337041ce3 100644
--- a/sys/sys/resourcevar.h
+++ b/sys/sys/resourcevar.h
@@ -104,8 +104,8 @@ struct proc;
struct rusage_ext;
struct thread;
-void addupc_intr(struct thread *td, uintptr_t pc, u_int ticks);
-void addupc_task(struct thread *td, uintptr_t pc, u_int ticks);
+void addupc_intr(struct thread *td, uintfptr_t pc, u_int ticks);
+void addupc_task(struct thread *td, uintfptr_t pc, u_int ticks);
void calccru(struct proc *p, struct timeval *up, struct timeval *sp);
void calcru(struct proc *p, struct timeval *up, struct timeval *sp);
int chgproccnt(struct uidinfo *uip, int diff, int maxval);