Re: [RHEL5 PATCH 1/2] Fix RAID5 components

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Aron Griffis wrote:
Prarit Bhargava wrote:  [Fri Jul 28 2006, 06:40:47PM EDT]
The issue is that CONFIG_RAID456 is tristate, and if it's config'd as a module, then #ifdef CONFIG_RAID456 is not true.

Ah, thanks for the explanation and the pointer to the BZ.  It appears
that #ifdef CONFIG_MD_RAID456_MODULE works in that case.  This patch
seems to solve the issue.  What do you think?

That's _exactly_ what I was looking for :)

I'll resubmit with -p1, etc., in a few minutes ...

P.

Regards,
Aron

 kernel/ia64_ksyms.c |    2 +-
 lib/Makefile        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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

Signed-off-by: Aron Griffis <aron@xxxxxx>

diff -r 825f7ede8fb3 -r 18551d19b60d kernel/ia64_ksyms.c
--- a/kernel/ia64_ksyms.c	Fri Jul 28 22:37:50 2006 -0400
+++ b/kernel/ia64_ksyms.c	Fri Jul 28 22:41:01 2006 -0400
@@ -68,7 +68,7 @@ EXPORT_SYMBOL(__moddi3);
 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);
diff -r 825f7ede8fb3 -r 18551d19b60d lib/Makefile
--- a/lib/Makefile	Fri Jul 28 22:37:50 2006 -0400
+++ b/lib/Makefile	Fri Jul 28 22:41:01 2006 -0400
@@ -14,7 +14,7 @@ lib-$(CONFIG_ITANIUM)	+= copy_page.o cop
 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

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux