__ia64_memcpy_fromio my be missing from kernel
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.
arch/ia64/lib/Makefile renamed from arch/ia64/lib/Makefile.~1~ +3 -1
@@ -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
Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected] 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."
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Andreas Schwab
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