]> bbs.cooldavid.org Git - net-next-2.6.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)
commit7e74437cf60cc84a655e301f1ee48027b3bcf96e
tree2cae13401bc5ae839f989e14e8de18d539db3ce3
parent1bac3b383a93a4a920ffc57441eb133c78567fbd
[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