diff options
author | Paul Burton <paul.burton@imgtec.com> | 2014-07-09 13:48:20 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-07-30 20:48:21 +0200 |
commit | 34bd3e6b9831d7ba45b45b2448a7046843068acf (patch) | |
tree | c1dcee1889ece0de8376b141f28a590abd2afc14 /arch/mips/include/asm/sn | |
parent | MIPS: pm-cps: Select CONFIG_MIPS_CPC (diff) | |
download | linux-34bd3e6b9831d7ba45b45b2448a7046843068acf.tar.xz linux-34bd3e6b9831d7ba45b45b2448a7046843068acf.zip |
MIPS: Fix potential build failures using cpu_vpe_id on non-MT
When used in a non-MT kernel, the cpu_vpe_id macro never made use of
its cpuinfo argument. It doesn't actually need to since it is returning
a constant 0. However not using the argument can lead to build failures
if the compiler then notices that a variable used as part of the
argument is unused. Prevent that problem by "using" the argument as far
as the compiler is concerned, whilst still returning 0 as before.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7280/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/sn')
0 files changed, 0 insertions, 0 deletions