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 <asm/page.h>

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

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to