linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix RAID5 + IA64 compile
@ 2006-07-28 13:52 Prarit Bhargava
  2006-07-28 13:52 ` [PATCH 1/2] Fix RAID5 components Prarit Bhargava
  2006-07-28 13:52 ` [PATCH 2/2] Fix IA64 components Prarit Bhargava
  0 siblings, 2 replies; 5+ messages in thread
From: Prarit Bhargava @ 2006-07-28 13:52 UTC (permalink / raw)
  To: linux-raid, linux-ia64; +Cc: Prarit Bhargava

Patchset to fix RAID5 on ia64.  Removes dead CONFIG options and
introduces a new CONFIG option.

Patch is against 2.6.17 + 2.6.18-rc2-git5

Signed-off-by: Prarit Bhargava <prarit@redhat.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] Fix RAID5 components
  2006-07-28 13:52 [PATCH 0/2] Fix RAID5 + IA64 compile Prarit Bhargava
@ 2006-07-28 13:52 ` Prarit Bhargava
  2006-07-28 13:52 ` [PATCH 2/2] Fix IA64 components Prarit Bhargava
  1 sibling, 0 replies; 5+ messages in thread
From: Prarit Bhargava @ 2006-07-28 13:52 UTC (permalink / raw)
  To: linux-raid, linux-ia64; +Cc: Prarit Bhargava

Patch to fix export issue with RAID5 + IA64.

	-adds new MD_RAID5_IA64 option (default to "y")
	 that builds IA64 RAID5 components.

This patch should be committed by the MD maintainers.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>

diff -urNp linux-2.6.17.ia64.orig/drivers/md/Kconfig linux-2.6.17.ia64/drivers/md/Kconfig
--- linux-2.6.17.ia64.orig/drivers/md/Kconfig	2006-07-27 09:20:03.000000000 -0400
+++ linux-2.6.17.ia64/drivers/md/Kconfig	2006-07-27 14:55:15.000000000 -0400
@@ -135,6 +135,13 @@ config MD_RAID456
 
 	  If unsure, say Y.
 
+config MD_RAID5_IA64
+	bool "RAID 5 support for IA64"
+	depends on MD_RAID456 && IA64
+	default y
+	---help---
+	Say "Y" if you plan on using RAID5 in IA64
+
 config MD_RAID5_RESHAPE
 	bool "Support adding drives to a raid-5 array (experimental)"
 	depends on MD_RAID456 && EXPERIMENTAL

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2/2] Fix IA64 components
  2006-07-28 13:52 [PATCH 0/2] Fix RAID5 + IA64 compile Prarit Bhargava
  2006-07-28 13:52 ` [PATCH 1/2] Fix RAID5 components Prarit Bhargava
@ 2006-07-28 13:52 ` Prarit Bhargava
  1 sibling, 0 replies; 5+ messages in thread
From: Prarit Bhargava @ 2006-07-28 13:52 UTC (permalink / raw)
  To: linux-raid, linux-ia64; +Cc: Prarit Bhargava

Patch to fix export issue with RAID5 + IA64.

	-removes dead CONFIG options

This patch should be committed by the IA64 maintainer.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>

diff -urNp linux-2.6.17.ia64.orig/arch/ia64/kernel/ia64_ksyms.c linux-2.6.17.ia64/arch/ia64/kernel/ia64_ksyms.c
--- linux-2.6.17.ia64.orig/arch/ia64/kernel/ia64_ksyms.c	2006-07-27 09:20:01.000000000 -0400
+++ linux-2.6.17.ia64/arch/ia64/kernel/ia64_ksyms.c	2006-07-27 14:51:42.000000000 -0400
@@ -67,7 +68,7 @@ EXPORT_SYMBOL(__udivdi3);
 EXPORT_SYMBOL(__moddi3);
 EXPORT_SYMBOL(__umoddi3);
 
-#if defined(CONFIG_MD_RAID5) || defined(CONFIG_MD_RAID5_MODULE)
+#ifdef CONFIG_MD_RAID5_IA64
 extern void xor_ia64_2(void);
 extern void xor_ia64_3(void);
 extern void xor_ia64_4(void);
diff -urNp linux-2.6.17.ia64.orig/arch/ia64/lib/Makefile linux-2.6.17.ia64/arch/ia64/lib/Makefile
--- 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-27 14:51:19.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_RAID5_IA64)	+= xor.o
 
 AFLAGS___divdi3.o	=
 AFLAGS___udivdi3.o	= -DUNSIGNED

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] Fix RAID5 + IA64 compile
       [not found] ` <yq01ws29li9.fsf@jaguar.mkp.net>
@ 2006-07-31 13:12   ` Prarit Bhargava
  2006-07-31 13:13     ` Jes Sorensen
  0 siblings, 1 reply; 5+ messages in thread
From: Prarit Bhargava @ 2006-07-31 13:12 UTC (permalink / raw)
  To: Jes Sorensen; +Cc: linux-ia64, linux-raid

[-- 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/2] Fix RAID5 + IA64 compile
  2006-07-31 13:12   ` [PATCH 0/2] Fix RAID5 + IA64 compile Prarit Bhargava
@ 2006-07-31 13:13     ` Jes Sorensen
  0 siblings, 0 replies; 5+ messages in thread
From: Jes Sorensen @ 2006-07-31 13:13 UTC (permalink / raw)
  To: Prarit Bhargava; +Cc: linux-ia64, linux-raid

Prarit Bhargava wrote:
> 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>

Acked-by: Jes Sorensen <jes@sgi.com>

I like this one much better :-)

Jes

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-07-31 13:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-28 13:52 [PATCH 0/2] Fix RAID5 + IA64 compile Prarit Bhargava
2006-07-28 13:52 ` [PATCH 1/2] Fix RAID5 components Prarit Bhargava
2006-07-28 13:52 ` [PATCH 2/2] Fix IA64 components Prarit Bhargava
     [not found] <20060728140145.9149.43458.sendpatchset@prarit.boston.redhat.com>
     [not found] ` <yq01ws29li9.fsf@jaguar.mkp.net>
2006-07-31 13:12   ` [PATCH 0/2] Fix RAID5 + IA64 compile Prarit Bhargava
2006-07-31 13:13     ` Jes Sorensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).