Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265541AbUFXUhr (ORCPT ); Thu, 24 Jun 2004 16:37:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265537AbUFXUhr (ORCPT ); Thu, 24 Jun 2004 16:37:47 -0400 Received: from e6.ny.us.ibm.com ([32.97.182.106]:46305 "EHLO e6.ny.us.ibm.com") by vger.kernel.org with ESMTP id S265541AbUFXUgE (ORCPT ); Thu, 24 Jun 2004 16:36:04 -0400 Date: Thu, 24 Jun 2004 13:35:28 -0700 From: "Martin J. Bligh" To: "Chen, Kenneth W" , "'Andrew Morton'" cc: linux-kernel@vger.kernel.org Subject: RE: 2.6.7-mm2 build failure Message-ID: <31650000.1088109328@flay> In-Reply-To: <200406241908.i5OJ8rY20620@unix-os.sc.intel.com> References: <200406241908.i5OJ8rY20620@unix-os.sc.intel.com> X-Mailer: Mulberry/2.1.2 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1218 Lines: 34 >> drivers/base/node.c: In function `node_read_meminfo': >> drivers/base/node.c:56: warning: implicit declaration of function >> `hugetlb_report_node_meminfo' >> drivers/built-in.o(.text+0x1f615): In function `node_read_meminfo': >> : undefined reference to `hugetlb_report_node_meminfo' >> make: *** [.tmp_vmlinux1] Error 1 >> >> Hmmm. I wonder if anyone tested that patch ;-) >> > > Sorry, missing a #include. Tested with/without hugetlb config'ed. Previous > patch was tested with hugetlb page configured. > > > diff -Nur linux-2.6.7.orig/drivers/base/node.c linux-2.6.7/drivers/base/node.c > --- linux-2.6.7.orig/drivers/base/node.c 2004-06-15 22:18:59.000000000 -0700 > +++ linux-2.6.7/drivers/base/node.c 2004-06-24 12:01:48.000000000 -0700 > @@ -7,6 +7,7 @@ > #include > #include > #include > +#include > #include > #include Thanks, that fixed it ... M. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/