x86: do smp tainting checks in a separate function