From: Deng-Cheng Zhu Date: Sat, 7 Mar 2015 18:30:20 +0000 (-0800) Subject: MIPS: Fall back to generic implementation of cmpxchg64 on 32-bit platforms X-Git-Tag: omap-for-v4.1/fixes-rc1~111^2~183 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2093c7b03c116238dd8e36bdbe03fff97e1cae9;p=pandora-kernel.git MIPS: Fall back to generic implementation of cmpxchg64 on 32-bit platforms This is in preparation of adding HAVE_VIRT_CPU_ACCOUNTING_GEN support in the next patch. Without having cmpxchg64 to use the generic implementation, kernel linking will complain: kernel/built-in.o: In function `cputime_adjust': cputime.c:(.text+0x33748): undefined reference to `__cmpxchg_called_with_bad_pointer' cputime.c:(.text+0x33810): undefined reference to `__cmpxchg_called_with_bad_pointer' Signed-off-by: Deng-Cheng Zhu Cc: linux-mips@linux-mips.org Cc: macro@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9474/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed