Make it adhere more closely to the style conventions in the rest of the
kernel. Obviously, this diff is large, but the result it more legible in
many cases, IMO. I want to do this before some further refactoring.
Mainly the following:
- Remove superfluous blank lines
- return statement style
- Explicit flag value checks
- Eliminate some unnecessary type casts
- Adjust variable declaration order
- More liberal use of braces around loops and conditions
- Indentation/whitespace
The change is not completely exhaustive, and some functions are
intentionally left alone as they will be modified or adjusted in
follow-up changes; notably, pmc_syscall_handler().
No functional change intended.