From: Paul Burton Date: Wed, 9 Jul 2014 11:48:20 +0000 (+0100) Subject: MIPS: Fix potential build failures using cpu_vpe_id on non-MT X-Git-Tag: cleanup-for-v3.18~94^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34bd3e6b9831d7ba45b45b2448a7046843068acf;p=pandora-kernel.git 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 Reviewed-by: Markos Chandras Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/7280/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed