version 1.80, 2003/12/02 01:34:30 |
version 1.81, 2004/01/02 18:52:17 |
Line 860 timerupcall(struct lwp *l, void *arg) |
|
Line 860 timerupcall(struct lwp *l, void *arg) |
|
unsigned int i, fired, done; |
unsigned int i, fired, done; |
extern struct pool siginfo_pool; /* XXX Ew. */ |
extern struct pool siginfo_pool; /* XXX Ew. */ |
|
|
|
KDASSERT(l->l_proc->p_sa); |
|
/* Bail out if we do not own the virtual processor */ |
|
if (l->l_proc->p_sa->sa_vp != l) |
|
return ; |
|
|
KERNEL_PROC_LOCK(l); |
KERNEL_PROC_LOCK(l); |
|
|
{ |
|
struct proc *p = l->l_proc; |
|
struct sadata *sa = p->p_sa; |
|
|
|
/* Bail out if we do not own the virtual processor */ |
|
if (sa->sa_vp != l) { |
|
KERNEL_PROC_UNLOCK(l); |
|
return ; |
|
} |
|
} |
|
|
|
fired = pt->pts_fired; |
fired = pt->pts_fired; |
done = 0; |
done = 0; |
while ((i = ffs(fired)) != 0) { |
while ((i = ffs(fired)) != 0) { |