MFC (1.80: style fixes and 1.81: fix high resolution kernel profiling).
MFC (1.80: style fixes and 1.81: fix high resolution kernel profiling).

I was reminded of the brokenness when attempting to profile sendto()
to compare RELENG_6 with -current.  Just configuring high res profiling
made sendto() with profiling inactive almost twice as slow in RELENG_6,
and actual profiles were almost unusable due to multiple copies of
non-inlined inline functions like curthread().

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase