From: Atsushi Nemoto Date: Tue, 10 Oct 2006 13:46:52 +0000 (+0900) Subject: [MIPS] Optimize and cleanup get_saved_sp, set_saved_sp X-Git-Tag: v2.6.19-rc2~20^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b95e629eab59ee140fe2b17bbd7fea6821c6085;p=pandora-kernel.git [MIPS] Optimize and cleanup get_saved_sp, set_saved_sp If CONFIG_BUILD_ELF64 was not selected and gcc had -msym32 option (i.e. 4.0 or newer), there is no point to use %highest, %higher for kernel symbols. This patch also fixes 64-bit SMTC version of get_saved_sp() which is broken but harmless since there is no such CPUs for now. A bonus is set_saved_sp() and SMP version of get_saved_sp() are more readable now. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed