From mboxrd@z Thu Jan 1 00:00:00 1970 From: KAMEZAWA Hiroyuki Date: Wed, 06 Apr 2005 23:54:21 +0000 Subject: Re: tiger_defconfig build fails for 2.6.12-rc2-mm1 Message-Id: <425476AD.7020109@jp.fujitsu.com> List-Id: References: <20050405165047.A21553@unix-os.sc.intel.com> In-Reply-To: <20050405165047.A21553@unix-os.sc.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org Christoph Lameter wrote: > On Wed, 6 Apr 2005, Rajesh Shah wrote: > > >>That was a compile error too: >> >>arch/ia64/kernel/ia64_ksyms.c:41: error: `clear_page' undeclared here (not in a function) >>arch/ia64/kernel/ia64_ksyms.c:41: error: initializer element is not constant >>arch/ia64/kernel/ia64_ksyms.c:41: error: (near initialization for `__ksymtab_clear_page.value') >>arch/ia64/kernel/ia64_ksyms.c:41: error: __ksymtab_clear_page causes a section type conflict >>make[1]: *** [arch/ia64/kernel/ia64_ksyms.o] Error 1 >> >>After reverting the patch, the resulting kernel booted fine for >>me. > > > Are you sure that the patch was fully applied? The patch adds clear_page > to include/asm-ia64/page.h and ia64_ksyms does #include There are 2 problems. 1. In arch/ia64/kernel/ia64_ksyms.c clear_page() is EXPORTED. But, in asm-ia64/page.h, clear_page() is just a macro of clear_pages(?,0). 2. In this tree, ia64 has no clear_pages() , I think. Only clear_page() exists in ia64/lib/clear_page.S. Thanks. -- Kame