Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
The file does not include sys/proc.h, which is vital for inline functions. sys/proc.h itself includes sys/systm.h, which includes sys/kassert.h. I am not sure that including kassert.h is useful.
Comment Actions
As @markj said, while here, please include sys/assert.h explicitly. It is already due because of sched_userret() above.
Comment Actions
IMO the header should include proc.h (when _KERNEL is defined) then, but yes, it's probably not too productive to include kassert.h by itself.