Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

lib/raid6: Drop IA64 support

Drop Itanium support from the RAID6 code, and along with it, the 16x and
32x unrolled versions, which were only used by IA64.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>

+2 -17
-2
include/linux/raid/pq.h
··· 84 84 extern const struct raid6_calls raid6_intx2; 85 85 extern const struct raid6_calls raid6_intx4; 86 86 extern const struct raid6_calls raid6_intx8; 87 - extern const struct raid6_calls raid6_intx16; 88 - extern const struct raid6_calls raid6_intx32; 89 87 extern const struct raid6_calls raid6_mmxx1; 90 88 extern const struct raid6_calls raid6_mmxx2; 91 89 extern const struct raid6_calls raid6_sse1x1;
+2 -2
lib/raid6/Makefile
··· 2 2 obj-$(CONFIG_RAID6_PQ) += raid6_pq.o 3 3 4 4 raid6_pq-y += algos.o recov.o tables.o int1.o int2.o int4.o \ 5 - int8.o int16.o int32.o 5 + int8.o 6 6 7 7 raid6_pq-$(CONFIG_X86) += recov_ssse3.o recov_avx2.o mmx.o sse1.o sse2.o avx2.o avx512.o recov_avx512.o 8 8 raid6_pq-$(CONFIG_ALTIVEC) += altivec1.o altivec2.o altivec4.o altivec8.o \ ··· 55 55 quiet_cmd_unroll = UNROLL $@ 56 56 cmd_unroll = $(AWK) -v N=$* -f $(srctree)/$(src)/unroll.awk < $< > $@ 57 57 58 - targets += int1.c int2.c int4.c int8.c int16.c int32.c 58 + targets += int1.c int2.c int4.c int8.c 59 59 $(obj)/int%.c: $(src)/int.uc $(src)/unroll.awk FORCE 60 60 $(call if_changed,unroll) 61 61
-4
lib/raid6/algos.c
··· 81 81 &raid6_lsx, 82 82 #endif 83 83 #endif 84 - #if defined(__ia64__) 85 - &raid6_intx32, 86 - &raid6_intx16, 87 - #endif 88 84 &raid6_intx8, 89 85 &raid6_intx4, 90 86 &raid6_intx2,
-9
lib/raid6/int.uc
··· 42 42 43 43 44 44 /* 45 - * IA-64 wants insane amounts of unrolling. On other architectures that 46 - * is just a waste of space. 47 - */ 48 - #if ($# <= 8) || defined(__ia64__) 49 - 50 - 51 - /* 52 45 * These sub-operations are separate inlines since they can sometimes be 53 46 * specially optimized using architecture-specific hacks. 54 47 */ ··· 145 152 "int" NSTRING "x$#", 146 153 0 147 154 }; 148 - 149 - #endif