Searched hist:181682 (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.3-release/sys/dev/iicbus/
H A Dad7418.cdiff 181682 Wed Aug 13 09:23:16 MDT 2008 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
/freebsd-10.3-release/sys/sys/
H A Dsx.hdiff 181682 Wed Aug 13 09:23:16 MDT 2008 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

Completed in 134 milliseconds