[PATCH] make CONFIG_IA64_GENERIC=y && CONFIG_SMP=n work

From: Jesse Barnes <jbarnes_at_engr.sgi.com>
Date: 2005-04-12 05:38:53
Here's the latest version of this patch.  There's an unrelated problem with 
the TOT tree right now that prevents me from booting all the way, but it gets 
far enough to give me at least some confidence in this patch.  I've compile 
tested and partially booted CONFIG_IA64_SGI_SN2=y and CONFIG_IA64_GENERIC=y, 
CONFIG_SMP=n configurations.

The patch fixes some compile problems when CONFIG_SMP is disabled and 
refactors out some of the kernel NUMA stuff into its own file that we can use 
for additional code later.  Some ugliness in discontig.c remains, however.

Comments, testing, and/or merging upstream appreciated :).

 arch/ia64/kernel/Makefile      |    1
 arch/ia64/kernel/acpi.c        |    4 ++
 arch/ia64/kernel/numa.c        |   57 +++++++++++++++++++++++++++++++++++++++
 arch/ia64/kernel/smpboot.c     |   41 ----------------------------
 arch/ia64/mm/discontig.c       |   58 ++++++++++++++++++++++++++-------------
 include/asm-ia64/sn/sn_cpuid.h |    4 --
 6 files changed, 102 insertions(+), 63 deletions(-)

Jesse

P.S. I didn't include the fix for mmtimer.c && CONFIG_SMP=n here, Christoph 
can you fix it?
drivers/char/mmtimer.c: In function `mmtimer_tasklet':
drivers/char/mmtimer.c:488: error: structure has no member named `write_lock'

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Received on Mon Apr 11 15:42:07 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:37 EST