Re: 2.6.13-mm2

Martin J. Bligh
2005-09-12T03:07:27Z

Finally got my damned x440 box back - won't build -mm2 (-mm1 is fine)

arch/i386/kernel/srat.c:141: #error "MAX_NR_ZONES != 3, chunk_to_zone requires review"
make[1]: *** [arch/i386/kernel/srat.o] Error 1
make: *** [arch/i386/kernel] Error 2
09/11/05-00:57:13 Build the kernel. Failed rc = 2
09/11/05-00:57:13 build: kernel build Failed rc = 1
09/11/05-00:57:13 command complete: (2) rc=126

x86_64-dma32.patch:-#define MAX_NR_ZONES 3 /* Sync this wi
h ZONES_SHIFT */
x86_64-dma32.patch:-#define ZONES_SHIFT 2 /* ceil(log2(MAX_NR_ZON
S)) */
x86_64-dma32.patch:+#define MAX_NR_ZONES 4 /* Sync this wi
h ZONES_SHIFT */
x86_64-dma32.patch:+#define ZONES_SHIFT 3 /* ceil(log2(MAX_NR_ZON
S)) */

Andi, does that need changing on ia32 as well as x86_64, or are you
just missing some ifdefs? Looks to me like the rest of the patch is
specific to x86_64.

M.