Re: r996 - in trunk/kernel/ia64/kernel-patch-2.6.7-ia64-2.6.7: . debian

From: dann frazier <>
Date: 2004-08-13 09:03:39
On Tue, Aug 10, 2004 at 09:14:17AM +0200, Christoph Hellwig wrote:
> Btw, where is this patch from and why wasn't it discussed on linux-ia64?

Alex Williamson sent it to me a few patches to fix build problems on
an earlier 2.6 kernel - this is one that I still need when building
UP kernels w/ 2.6.7.  Here's where the builds fail (both using the
attached config).

If I remove this patch, it forces DISCONTIGMEM on, which doesn't build w/o SMP:

  CC      arch/ia64/mm/discontig.o
arch/ia64/mm/discontig.c: In function `find_pernode_space':
arch/ia64/mm/discontig.c:317: error: `__per_cpu_offset' undeclared (first use in this function)
arch/ia64/mm/discontig.c:317: error: (Each undeclared identifier is reported only once
arch/ia64/mm/discontig.c:317: error: for each function it appears in.)
arch/ia64/mm/discontig.c:473:24: macro "per_cpu_init" passed 1 arguments, but takes just 0
arch/ia64/mm/discontig.c: At top level:
arch/ia64/mm/discontig.c:474: error: syntax error before '{' token
make[1]: *** [arch/ia64/mm/discontig.o] Error 1
make: *** [arch/ia64/mm] Error 2

If I remove the sn/Makefile hunk (leaving the other):

  CC      arch/ia64/sn/io/hwgfs/hcl_util.o
In file included from include/asm/sn/sn_cpuid.h:16,
                 from include/asm/sn/arch.h:16,
                 from include/asm/sn/sn2/shubio.h:12,
                 from include/asm/sn/io.h:58,
                 from arch/ia64/sn/io/hwgfs/hcl_util.c:13:
include/asm/sn/pda.h:54: error: `MAX_NUMNODES' undeclared here (not in a function)
make[3]: *** [arch/ia64/sn/io/hwgfs/hcl_util.o] Error 1
make[2]: *** [arch/ia64/sn/io/hwgfs] Error 2
make[1]: *** [arch/ia64/sn/io] Error 2
make: *** [arch/ia64/sn] Error 2

dann frazier
Linux and Open Source Lab

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at

Received on Thu Aug 12 19:18:16 2004

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