mop up ifndef KERNEL goo; ok miod