All the code is ifdefed under CONFIG_SMP. So there is no code in the !SMP
case, just three masks. When you mentioned it first time I went back and
rebuilt the !SMP kernel with and without the patch. Luckily I have a
ridiculously fast 8way box here so I went ahead and verified it again.
Before:
size vmlinux
text data bss dec hex filename
3305622 306420 310352 3922393 3bd9d9 vmlinux
size kernel/cpu.o
size: 'kernel/cpu.o': No such file
After:
size vmlinux
text data bss dec hex filename
3305621 306420 310352 3922393 3bd9d9 vmlinux
size kernel/cpu.o
text data bss dec hex filename
96 24 0 120 78 kernel/cpu.o
Max
--