Re: [PATCH] x86 smp: export smp_num_siblings for oprofile

2006-12-09 Thread Andrew Morton
On Sat, 9 Dec 2006 00:34:24 -0800 Randy Dunlap <[EMAIL PROTECTED]> wrote: > From: Randy Dunlap <[EMAIL PROTECTED]> > > 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

[PATCH] x86 smp: export smp_num_siblings for oprofile

2006-12-09 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> 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