Re: 2.5.72 for ia64 released

Alex Tsariounov
2003-06-20T20:03:14Z

[-- Attachment #1: Type: text/plain, Size: 518 bytes --]

On Fri, Jun 20, 2003 at 11:01:30AM -0700, David Mosberger wrote:
> Sam> No need for this ifeq ....
> Sam> lib-m should work as well as lib-y.
> Sam> If this is not the case then let me know - I will fix kbuild then.
>
> Sam> lib-m is actually documented!
>
> I don't use RAID5 myself. Can someone else test this and send me a
> patch if it works?

The workaround was needed for 2.5.69 but it looks like it works as
it originally should on 2.5.72. Attached is a patch that goes back
to lib-m.

Thanks,
Alex

[-- Attachment #2: ia64_raidfix.patch --]
[-- Type: text/plain, Size: 707 bytes --]

diff -Naur -X dontdiff linux-2.5.72-030619/arch/ia64/lib/Makefile linux-2.5.72-030619-fix/arch/ia64/lib/Makefile
--- linux-2.5.72-030619/arch/ia64/lib/Makefile 2003-06-20 13:54:00.000000000 -0600
+++ linux-2.5.72-030619-fix/arch/ia64/lib/Makefile 2003-06-20 13:48:24.000000000 -0600
@@ -12,12 +12,7 @@
lib-$(CONFIG_ITANIUM) += copy_page.o copy_user.o memcpy.o
lib-$(CONFIG_MCKINLEY) += copy_page_mck.o memcpy_mck.o
lib-$(CONFIG_PERFMON) += carta_random.o
-
-ifeq ($(CONFIG_MD_RAID5),m)
- lib-y += xor.o
-else
- lib-$(CONFIG_MD_RAID5) += xor.o
-endif
+lib-$(CONFIG_MD_RAID5) += xor.o

IGNORE_FLAGS_OBJS = __divsi3.o __udivsi3.o __modsi3.o __umodsi3.o \
__divdi3.o __udivdi3.o __moddi3.o __umoddi3.o