mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
2 changed files with 4 additions and 4 deletions
|
|
@ -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 a new issue