]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] i386: export smp_num_siblings for oprofile
authorRandy Dunlap <randy.dunlap@oracle.com>
Sat, 9 Dec 2006 20:33:36 +0000 (21:33 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Sat, 9 Dec 2006 20:33:36 +0000 (21:33 +0100)
commite1b50de650af1ffa56dd7ea8ca89d6f432c49dda
tree2cae13401bc5ae839f989e14e8de18d539db3ce3
parent456b63df2ad1b8bd00138a6bdf16aa900967b480
[PATCH] i386: export smp_num_siblings for oprofile

oprofile uses smp_num_siblings without testing for CONFIG_X86_HT.
I looked at modifying oprofile, but this way is cleaner & simpler
and I didn't see a good reason not to just export it when CONFIG_SMP.

WARNING: "smp_num_siblings" [arch/i386/oprofile/oprofile.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/smpboot.c