diff options
author | John Baldwin <jhb@FreeBSD.org> | 2005-12-16 22:08:32 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2005-12-16 22:08:32 +0000 |
commit | cb49fcd1454855d23a1f4a88de686cc296986aa0 (patch) | |
tree | 378745ee53eb58d390502f4d1178a6971f5a8bee /sys/sys/resourcevar.h | |
parent | 8088aac4c46bd657232c6928367c78833e5de53b (diff) | |
download | src-cb49fcd1454855d23a1f4a88de686cc296986aa0.tar.gz src-cb49fcd1454855d23a1f4a88de686cc296986aa0.zip |
Change the addupc_*() functions to use the uintfptr_t type for pc rather
than uintptr_t as that is technically more correct.
Notes
Notes:
svn path=/head/; revision=153489
Diffstat (limited to 'sys/sys/resourcevar.h')
-rw-r--r-- | sys/sys/resourcevar.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |