Files
android_kernel_xiaomi_sm8450/arch/mips/include/asm
Maciej W. Rozycki e49d384885 MIPS: MSA: Fix a link error on `_init_msa_upper' with older GCC
Fix a build regression from commit c9017757c5 ("MIPS: init upper 64b
of vector registers when MSA is first used"):

arch/mips/built-in.o: In function `enable_restore_fp_context':
traps.c:(.text+0xbb90): undefined reference to `_init_msa_upper'
traps.c:(.text+0xbb90): relocation truncated to fit: R_MIPS_26 against `_init_msa_upper'
traps.c:(.text+0xbef0): undefined reference to `_init_msa_upper'
traps.c:(.text+0xbef0): relocation truncated to fit: R_MIPS_26 against `_init_msa_upper'

to !CONFIG_CPU_HAS_MSA configurations with older GCC versions, which are
unable to figure out that calls to `_init_msa_upper' are indeed dead.
Of the many ways to tackle this failure choose the approach we have
already taken in `thread_msa_context_live'.

[ralf@linux-mips.org: Drop patch segment to junk file.]

Signed-off-by: Maciej W. Rozycki <macro@imgtec.com>
Cc: stable@vger.kernel.org # v3.16+
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13271/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2016-05-17 11:02:45 +02:00
..
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2015-06-21 21:52:44 +02:00
2014-08-26 02:18:58 +02:00
2016-05-13 14:02:18 +02:00
2016-04-03 12:32:09 +02:00
2016-04-03 12:32:09 +02:00
2016-04-03 12:32:09 +02:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2015-11-11 08:36:36 +01:00
2014-01-22 20:19:02 +01:00
2016-05-09 12:00:05 +02:00
2016-01-12 20:46:56 +02:00
2015-05-13 10:55:42 +02:00
2013-02-01 10:00:22 +01:00
2015-11-12 11:35:47 +01:00
2013-02-01 10:00:22 +01:00
2013-01-24 13:20:09 +01:00
2015-05-28 15:31:53 +02:00
2014-08-26 02:18:56 +02:00
2012-03-28 18:30:02 +01:00
2014-05-24 00:07:01 +02:00
2013-02-01 10:00:22 +01:00
2016-02-01 23:36:38 +01:00
2013-02-01 10:00:22 +01:00
2015-06-21 21:54:29 +02:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2016-05-13 14:01:58 +02:00
2015-09-03 12:08:05 +02:00
2012-12-13 16:46:47 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2016-05-13 14:02:19 +02:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2014-05-24 00:07:01 +02:00
2016-05-13 15:30:25 +02:00
2013-02-01 10:00:22 +01:00
2016-01-23 00:28:57 +01:00
2015-09-03 12:08:05 +02:00
2014-08-02 00:06:38 +02:00
2013-02-01 10:00:22 +01:00
2014-01-22 20:19:02 +01:00
2016-04-03 12:32:09 +02:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2016-05-09 12:00:02 +02:00
2015-09-03 12:08:05 +02:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2016-04-03 12:32:09 +02:00
2015-09-03 12:08:05 +02:00
2013-09-18 17:13:58 +02:00
2013-02-01 10:00:22 +01:00
2016-05-09 12:00:02 +02:00