* __ia64_memcpy_fromio my be missing from kernel
@ 2004-01-07 16:17 Andreas Schwab
2004-01-12 20:10 ` David Mosberger
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2004-01-07 16:17 UTC (permalink / raw)
To: linux-ia64
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."
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: __ia64_memcpy_fromio my be missing from kernel
2004-01-07 16:17 __ia64_memcpy_fromio my be missing from kernel Andreas Schwab
@ 2004-01-12 20:10 ` David Mosberger
0 siblings, 0 replies; 2+ messages in thread
From: David Mosberger @ 2004-01-12 20:10 UTC (permalink / raw)
To: linux-ia64
>>>>> On Wed, 07 Jan 2004 17:17:28 +0100, Andreas Schwab <schwab@suse.de> said:
Andreas> When building a highly modular, non-generic kernel it can
Andreas> happen that arch/ia64/lib/io.o is not included in the image
Andreas> because nothing built-in needs __ia64_memcpy_fromio, etc.,
Andreas> yet it may be called from a module. We should force it to
Andreas> be linked in.
Sounds correct to me. Applied.
Thanks,
--david
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-01-12 20:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-07 16:17 __ia64_memcpy_fromio my be missing from kernel Andreas Schwab
2004-01-12 20:10 ` David Mosberger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.