diff options
author | ed <ed@FreeBSD.org> | 2008-08-13 09:20:52 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2008-08-13 09:20:52 +0000 |
commit | b992b3ff383d39a480d2acf9cb459439925754d4 (patch) | |
tree | c751b31ff95d395d10366b0bc64b4bf3dbed125c /lib/libc/stdio/putchar.c | |
parent | 0fa4e4ac22c800e4d497d50504c891e37f62714a (diff) | |
download | FreeBSD-src-b992b3ff383d39a480d2acf9cb459439925754d4.zip FreeBSD-src-b992b3ff383d39a480d2acf9cb459439925754d4.tar.gz |
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
Diffstat (limited to 'lib/libc/stdio/putchar.c')
0 files changed, 0 insertions, 0 deletions