Here are some more unification patches for traps_xx.c. Theyare against the current x86/traps branch in the tip tree andwork fine for my miniconfigs.

The branch does not at the moment compile a defconfig kernel,due to a missing PCI_DEVICE_ID_AMD_10H_NB_MISC define, however.

Moreover, a defconfig won't run :-/ (on qemu-system-x86_64).Bisection pointed to commit 10a434fcb "x86: remove cpu_vendor_dev".The kernel crashes early with a general protection fault in a callto strnlen. I have no idea what goes wrong, yet.