From: Ralf Baechle Date: Tue, 24 Nov 2009 13:16:02 +0000 (+0000) Subject: MIPS: Fix build error if __xchg() is not getting inlined. X-Git-Tag: v2.6.32~24^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c677189af9faa3f26fae0fcb7ac59f477048b89a;p=pandora-kernel.git MIPS: Fix build error if __xchg() is not getting inlined. If __xchg() is not getting inlined the outline version of the function will have a reference to __xchg_called_with_bad_pointer() which does not exist remaining. Fixed by using BUILD_BUG_ON() to check for allowable operand sizes. Signed-off-by: Ralf Baechle Patchwork: http://patchwork.linux-mips.org/patch/705/ --- Reading git-diff-tree failed