Re: [PATCH 0/2] Fix RAID5 + IA64 compile

Prarit Bhargava
2006-07-31T13:12:11Z

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

Resubmitting ... please note this patch is ia64 ONLY.

CONFIG_MD_RAID5 became CONFIG_MD_RAID456 in drivers/md/Kconfig. Make
the same
change in arch/ia64

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Aron Griffis <aron@hp.com>

[-- Attachment #2: xor.diff --]
[-- Type: text/plain, Size: 1207 bytes --]

CONFIG_MD_RAID5 became CONFIG_MD_RAID456 in drivers/md/Kconfig. Make the same
change in arch/ia64

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Aron Griffis <aron@hp.com>

--- linux-2.6.17.ia64.orig/arch/ia64/kernel/ia64_ksyms.c 2006-07-27 15:21:47.000000000 -0400
+++ linux-2.6.17.ia64/arch/ia64/kernel/ia64_ksyms.c 2006-07-31 09:02:06.000000000 -0400
@@ -68,7 +68,7 @@ EXPORT_SYMBOL(__udivdi3);
EXPORT_SYMBOL(__moddi3);
EXPORT_SYMBOL(__umoddi3);

-#if defined(CONFIG_MD_RAID5) || defined(CONFIG_MD_RAID5_MODULE)
+#if defined(CONFIG_MD_RAID456) || defined(CONFIG_MD_RAID456_MODULE)
extern void xor_ia64_2(void);
extern void xor_ia64_3(void);
extern void xor_ia64_4(void);
--- linux-2.6.17.ia64.orig/arch/ia64/lib/Makefile 2006-07-27 09:20:01.000000000 -0400
+++ linux-2.6.17.ia64/arch/ia64/lib/Makefile 2006-07-31 09:02:41.000000000 -0400
@@ -14,7 +14,7 @@ lib-y := __divsi3.o __udivsi3.o __modsi3
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
-lib-$(CONFIG_MD_RAID5) += xor.o
+lib-$(CONFIG_MD_RAID456) += xor.o

AFLAGS___divdi3.o =
AFLAGS___udivdi3.o = -DUNSIGNED