Skip to contentSkip to conversation

PATCH 2.4.23-pre6 gcc-3.3 support (xor.S)

PATCH Grant Grundler 1 participant 1 message Oct 16, 2003

lore
Share & tools
lore
#0 lore raw

Hi Bjorn,
gcc-3.3 doesn't like the asm("") spread out over 250 lines. I gather gcc-3.3 doesn't like line breaks inside a string. Besides, it just feels wrong to have a 250 line asm().

Fortunately 2.6 already fixes this problem. Here's a "back port" of xor.S from davidm's linux-ia64-2.5 bk tree.

BTW, since the function prototypes in xor.h are identical, I've assumed 2.6 xor.S is functionally identical/compatible too.

grant

arch/ia64/lib/Makefile +1 -0
diff -Nur --exclude=RCS --exclude=CVS --exclude=SCCS --exclude=BitKeeper --exclude=ChangeSet linux-ia64-2.4-orig/arch/ia64/lib/Makefile linux-ia64-2.4/arch/ia64/lib/Makefile
@@ -18,6 +18,7 @@
 
 obj-$(CONFIG_ITANIUM) += copy_page.o copy_user.o memcpy.o
 obj-$(CONFIG_MCKINLEY) += copy_page_mck.o memcpy_mck.o
+obj-$(CONFIG_MD_RAID5) += xor.o
 
 IGNORE_FLAGS_OBJS =	__divsi3.o __udivsi3.o __modsi3.o __umodsi3.o \
 			__divdi3.o __udivdi3.o __moddi3.o __umoddi3.o
arch/ia64/lib/xor.S +184 -0

184 lines not on this page · raw message

include/asm-ia64/xor.h +0 -250

256 lines not on this page · raw message