[PATCH 42/74] lto, raid: disable LTO for the Altivec RAID code
From: Andi Kleen It needs special options for a file, which LTO does not support. XXX: may need some more __visibles Cc: b...@kernel.crashing.org Cc: h...@zytor.com Signed-off-by: Andi Kleen --- lib/raid6/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/raid6/Makefile b/lib/raid6/Makefile index de06dfe..55fbafb 100644 --- a/lib/raid6/Makefile +++ b/lib/raid6/Makefile @@ -10,7 +10,7 @@ quiet_cmd_unroll = UNROLL $@ < $< > $@ || ( rm -f $@ && exit 1 ) ifeq ($(CONFIG_ALTIVEC),y) -altivec_flags := -maltivec -mabi=altivec +altivec_flags := -maltivec -mabi=altivec ${DISABLE_LTO} endif targets += int1.c -- 1.7.7.6 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 42/74] lto, raid: disable LTO for the Altivec RAID code
From: Andi Kleen a...@linux.intel.com It needs special options for a file, which LTO does not support. XXX: may need some more __visibles Cc: b...@kernel.crashing.org Cc: h...@zytor.com Signed-off-by: Andi Kleen a...@linux.intel.com --- lib/raid6/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/raid6/Makefile b/lib/raid6/Makefile index de06dfe..55fbafb 100644 --- a/lib/raid6/Makefile +++ b/lib/raid6/Makefile @@ -10,7 +10,7 @@ quiet_cmd_unroll = UNROLL $@ $ $@ || ( rm -f $@ exit 1 ) ifeq ($(CONFIG_ALTIVEC),y) -altivec_flags := -maltivec -mabi=altivec +altivec_flags := -maltivec -mabi=altivec ${DISABLE_LTO} endif targets += int1.c -- 1.7.7.6 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/