diff options
author | jeff <jeff@FreeBSD.org> | 2007-06-06 03:40:47 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2007-06-06 03:40:47 +0000 |
commit | 7a9c95c1006958928813d10d99735b67778a03e7 (patch) | |
tree | 6e1a416746fad7d57f2b0f3b1f0430655bd995a9 /sys/kern/sched_4bsd.c | |
parent | aed2a0bc2931b2e8d1b39a45093c62e28fb3ff3d (diff) | |
download | FreeBSD-src-7a9c95c1006958928813d10d99735b67778a03e7.zip FreeBSD-src-7a9c95c1006958928813d10d99735b67778a03e7.tar.gz |
- Placing the 'volatile' on the right side of the * in the td_lock
declaration removes the need for __DEVOLATILE().
Pointed out by: tegge
Diffstat (limited to 'sys/kern/sched_4bsd.c')
-rw-r--r-- | sys/kern/sched_4bsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c index 86e8dad..a4b1e08 100644 --- a/sys/kern/sched_4bsd.c +++ b/sys/kern/sched_4bsd.c @@ -903,7 +903,7 @@ sched_switch(struct thread *td, struct thread *newtd, int flags) #endif /* I feel sleepy */ - cpu_switch(td, newtd, __DEVOLATILE(struct mtx *, td->td_lock)); + cpu_switch(td, newtd, td->td_lock); /* * Where am I? What year is it? * We are in the same thread that went to sleep above, |