+ addupc_task(p, \
+ (proc_is64bit((p)) ? (p)->p_stats->user_p_prof.pr_addr \
+ : CAST_USER_ADDR_T((p)->p_stats->p_prof.pr_addr)), \
+ (proc_is64bit((p)) ? (p)->p_stats->user_p_prof.pr_ticks \
+ : (p)->p_stats->p_prof.pr_ticks))
+
+void addupc_intr(struct proc *p, uint32_t pc, u_int ticks);
+void addupc_task(struct proc *p, user_addr_t pc, u_int ticks);
+void calcru(struct proc *p, struct timeval *up, struct timeval *sp,
+ struct timeval *ip);
+void ruadd(struct rusage *ru, struct rusage *ru2);
+void update_rusage_info_child(struct rusage_info_child *ru, rusage_info_current *ru_current);
+void proc_limitget(proc_t p, int whichi, struct rlimit * limp);
+void proc_limitdrop(proc_t p, int exiting);
+void proc_limitfork(proc_t parent, proc_t child);
+int proc_limitreplace(proc_t p);
+void proc_limitblock(proc_t);
+void proc_limitunblock(proc_t);
+#endif /* KERNEL */