Messages in this thread Patch in this message | | | From | "Rafael J. Wysocki" <> | Subject | Re: 2.6.17-rc5-mm3 | Date | Sun, 4 Jun 2006 20:20:43 +0200 |
| |
On Sunday 04 June 2006 08:20, Andrew Morton wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.17-rc5/2.6.17-rc5-mm3/
Small compilation fix needed for x86_64 without SMP:
arch/x86_64/kernel/mce_amd.c | 4 ++++ 1 files changed, 4 insertions(+)
Index: linux-2.6.17-rc5-mm3/arch/x86_64/kernel/mce_amd.c =================================================================== --- linux-2.6.17-rc5-mm3.orig/arch/x86_64/kernel/mce_amd.c +++ linux-2.6.17-rc5-mm3/arch/x86_64/kernel/mce_amd.c @@ -494,7 +494,11 @@ static __cpuinit int threshold_create_ba kobject_set_name(&b->kobj, "threshold_bank%i", bank); b->kobj.parent = &per_cpu(device_mce, cpu).kobj; +#ifdef CONFIG_SMP b->cpus = cpu_core_map[cpu]; +#else + b->cpus = CPU_MASK_CPU0; +#endif err = kobject_register(&b->kobj); if (err) - 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/
| |