__ia64_memcpy_fromio my be missing from kernel

From: Andreas Schwab <schwab_at_suse.de>
Date: 2004-01-08 03:17:28
When building a highly modular, non-generic kernel it can happen that
arch/ia64/lib/io.o is not included in the image because nothing built-in
needs __ia64_memcpy_fromio, etc., yet it may be called from a module.  We
should force it to be linked in.

Andreas.

--- linux-2.6.0/arch/ia64/lib/Makefile.~1~	2004-01-07 14:23:16.000000000 +0100
+++ linux-2.6.0/arch/ia64/lib/Makefile	2004-01-07 17:08:07.000000000 +0100
@@ -2,11 +2,13 @@
 # Makefile for ia64-specific library routines..
 #
 
+obj-y := io.o
+
 lib-y := __divsi3.o __udivsi3.o __modsi3.o __umodsi3.o			\
 	__divdi3.o __udivdi3.o __moddi3.o __umoddi3.o			\
 	checksum.o clear_page.o csum_partial_copy.o copy_page.o		\
 	clear_user.o strncpy_from_user.o strlen_user.o strnlen_user.o	\
-	flush.o io.o ip_fast_csum.o do_csum.o				\
+	flush.o ip_fast_csum.o do_csum.o				\
 	memset.o strlen.o swiotlb.o
 
 lib-$(CONFIG_ITANIUM)	+= copy_page.o copy_user.o memcpy.o

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Jan 7 11:27:42 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:21 EST