Skip to content

Warnings/Errors for Hotplug Memory patch 20040621

This is a build of the 20040621 hotplug memory patch against 2.6.5 on an ia32 pIII running gentoo:

  Linux version 2.6.10-gentoo-r6 (root@cl023)
  (gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)) #6
  SMP Tue Feb 22 04:41:18 GMT 2005

I obtained the patch from http://sourceforge.net/projects/lhms/. Patching worked without error.

Build warnings/errors:

  CC      arch/i386/mm/init.o
arch/i386/mm/init.c: In function `zone_sizes_init':
arch/i386/mm/init.c:354: warning: unused variable `section'
  CC      arch/i386/mm/pgtable.o

  CC      mm/page_alloc.o
mm/page_alloc.c: In function `__free_pages_bulk':
mm/page_alloc.c:192: error: `mem_section' undeclared (first use in this
function)
mm/page_alloc.c:192: error: (Each undeclared identifier is reported only
once
mm/page_alloc.c:192: error: for each function it appears in.)
mm/page_alloc.c:192: error: structure has no member named `section'
mm/page_alloc.c:195: error: structure has no member named `section'
mm/page_alloc.c: In function `__rmqueue':
mm/page_alloc.c:385: error: `mem_section' undeclared (first use in this
function)
mm/page_alloc.c:385: error: structure has no member named `section'
mm/page_alloc.c: In function `free_area_init_node':
mm/page_alloc.c:1918: warning: unused variable `i'
make[2]: *** [mm/page_alloc.o] Error 1
make[1]: *** [mm] Error 2
make: *** [bzImage] Error 2