[PATCH]
PATCH 1/1 [PATCH]
Here is a resubmittal of Jesse Barnes' fix for generic UP builds, ported to 2.6.12. I've boot tested it on an rx2600.
Can someone test on an sn2 system?
arch/ia64/kernel/Makefile +1 -0
@@ -17,6 +17,7 @@ obj-$(CONFIG_IOSAPIC) += iosapic.o obj-$(CONFIG_MODULES) += module.o obj-$(CONFIG_SMP) += smp.o smpboot.o domain.o +obj-$(CONFIG_NUMA) += numa.o obj-$(CONFIG_PERFMON) += perfmon_default_smpl.o obj-$(CONFIG_IA64_CYCLONE) += cyclone.o obj-$(CONFIG_IA64_MCA_RECOVERY) += mca_recovery.o
arch/ia64/kernel/acpi.c +3 -1
@@ -642,9 +642,11 @@if (smp_boot_data.cpu_phys_id[cpu] !=hard_smp_processor_id ()) node_cpuid[i++].phys_id = smp_boot_data.cpu_phys_id[cpu]; } -build_cpu_to_node_map ();# endif #endif +#ifdef CONFIG_ACPI_NUMA +build_cpu_to_node_map (); +#endif /* Make boot-up look pretty */ printk (KERN_INFO "%d CPUs available, %d CPUs total\n" , available_cpus, total_cpus);return 0 ;
arch/ia64/kernel/numa.c +57 -0
57 lines not on this page · raw message
arch/ia64/kernel/smpboot.c +0 -41
47 lines not on this page · raw message
arch/ia64/mm/discontig.c +48 -22
121 lines not on this page · raw message
include/asm-ia64/sn/arch.h +1 -0
@@ -11,6 +11,7 @@#ifndef _ASM_IA64_SN_ARCH_H#define _ASM_IA64_SN_ARCH_H +#include <linux/numa.h> #include <asm/types.h> #include <asm/percpu.h> #include <asm/sn/types.h>
include/asm-ia64/sn/sn_cpuid.h +0 -5
@@ -81,11 +81,6 @@* */ -#ifndef CONFIG_SMP -#define cpu_physical_id (cpuid) ((ia64_getreg(_IA64_REG_CR_LID) >> 16) & 0xffff) -#endif - -#define get_node_number (addr) NASID_GET(addr)/*
Signature · 1 line
dann frazier <[email protected]>