If you're having trouble compiling a newly config-ed kernel:
The versions of sys/arch/xx/xx/genassym.c that have a #define KERNEL in it,
need to be changed to #define _KERNEL (or both KERNEL and _KERNEL, I am not
sure if the conversion has been completed yet).
- Frank