Messages in this thread Patch in this message | | | Date | Wed, 7 Jun 2006 10:29:17 -0700 | From | "Siddha, Suresh B" <> | Subject | Re: [Patch] sched: mc/smt power savings sched policy |
| |
On Wed, Jun 07, 2006 at 09:49:43AM -0700, Andrew Morton wrote: > On Tue, 6 Jun 2006 11:25:21 -0700 > "Siddha, Suresh B" <suresh.b.siddha@intel.com> wrote: > > > Appended the patch. Can someone please test compile the powerpc change? > > powerpc compiles and boots OK, but sparc64 is not so good. > > kernel/built-in.o(.text+0x6ec0): In function `sched_create_sysfs_power_savings_entries': > : undefined reference to `smt_capable'
Dave, I am not sure if the appended patch is the correct(perhaps temporary?) mechanism(currently smp_prepare_cpus() also uses this mechanism) in identifying a SMT capable sparc64 processor. Can you confirm?
thanks, suresh --
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
--- linux-2.6.17-rc5/include/asm-sparc64/topology.h 2006-05-24 18:50:17.000000000 -0700 +++ linux/include/asm-sparc64/topology.h 2006-06-07 08:28:13.726071744 -0700 @@ -1,6 +1,9 @@ #ifndef _ASM_SPARC64_TOPOLOGY_H #define _ASM_SPARC64_TOPOLOGY_H +#include <asm/spitfire.h> +#define smt_capable() (tlb_type == hypervisor) + #include <asm-generic/topology.h> #endif /* _ASM_SPARC64_TOPOLOGY_H */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |