From: Florian Fainelli Date: Wed, 28 Jul 2010 22:13:07 +0000 (+0200) Subject: MIPS: Octeon: Workaround link failures with gcc-4.4.x 32-bits toolchains X-Git-Tag: v2.6.36-rc1~563^2~144 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c8974538afd97990d3730ef6fea731a34ef1f85;p=pandora-kernel.git MIPS: Octeon: Workaround link failures with gcc-4.4.x 32-bits toolchains When building with a gcc-4.4.x toolchain that is configured to produce 32-bits executables by default, we will produce __lshrti3 in sched_clock() which is never resolved so the kernel fails to link. Unconditionally use the inline assembly version as suggested by David Daney, which works around the issue. Signed-off-by: Florian Fainelli To: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/1514/ Acked-by: David Daney Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed