Change the addupc_*() functions to use the uintfptr_t type for pc rather
than uintptr_t as that is technically more correct.
This commit is contained in:
parent
8088aac4c4
commit
cb49fcd145
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153489
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user