Files
android_kernel_xiaomi_sm8450/arch/mips/kernel
James Hogan 7e7bf0ec1a MIPS: smp-cmp: Fix vpe_id build error
The smp-cmp build has been (further) broken since commit 856fbcee60
("MIPS: Store core & VP IDs in GlobalNumber-style variable") in
v4.14-rc1 like so:

arch/mips/kernel/smp-cmp.c: In function ‘cmp_init_secondary’:
arch/mips/kernel/smp-cmp.c:53:4: error: ‘struct cpuinfo_mips’ has no member named ‘vpe_id’
   c->vpe_id = (read_c0_tcbind() >> TCBIND_CURVPE_SHIFT) &
    ^

Fix by replacing vpe_id with cpu_set_vpe_id().

Fixes: 856fbcee60 ("MIPS: Store core & VP IDs in GlobalNumber-style variable")
Signed-off-by: James Hogan <jhogan@kernel.org>
Reviewed-by: Paul Burton <paul.burton@imgtec.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17569/
Signed-off-by: James Hogan <jhogan@kernel.org>
2017-11-01 23:23:00 +00:00
..
2017-02-13 18:57:34 +00:00
2017-10-31 22:42:39 +00:00
2017-10-31 22:42:39 +00:00
2017-10-31 22:42:39 +00:00
2017-10-31 22:42:39 +00:00
2017-09-06 11:01:52 +02:00
2011-12-07 22:03:45 +00: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
2017-01-03 16:34:34 +01:00
2017-01-25 02:51:11 +01:00
2017-10-31 22:42:39 +00:00
2017-10-31 22:42:39 +00:00
2014-05-24 00:07:01 +02:00
2017-09-20 10:47:12 +02:00
2017-10-31 22:42:39 +00:00
2016-05-09 12:00:02 +02:00
2017-10-31 22:42:39 +00:00
2017-11-01 00:09:17 +00:00
2017-08-29 15:21:55 +02:00
2009-06-24 18:34:40 +01:00
2014-05-24 00:07:01 +02:00