cvs commit: src/sys/dev/iicbus ad7418.c src/sys/sys sx.h
ed at FreeBSD.org
Wed Aug 13 09:21:54 UTC 2008
ed 2008-08-13 09:20:52 UTC
FreeBSD src repository
SVN rev 181682 on 2008-08-13 09:20:52Z by ed
Fix compilation of arm's AVILA.
Compilation of the AVILA kernel failed because of two reasons:
- It needed curthread, which is defined through <sys/pcpu.h>.
- It still referred the softc's sc_mtx field, which has been replaced by
sc_lock three weeks ago.
To solve the first problem, I decided to include <sys/pcpu.h> in
<sys/sx.h>, which also seems to be done by <sys/mutex.h> and
<sys/rwlock.h>. Those header files also require curthread.
Approved by: jhb
Revision Changes Path
1.3 +1 -1 src/sys/dev/iicbus/ad7418.c
1.39 +2 -1 src/sys/sys/sx.h
More information about the cvs-all