commit | c677189af9faa3f26fae0fcb7ac59f477048b89a | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Tue Nov 24 13:16:02 2009 +0000 |
committer | Ralf Baechle <ralf@linux-mips.org> | Tue Dec 01 16:21:25 2009 +0000 |
tree | 617d481b1c46c6a0ccdb4404ba84b25657b3128a | |
parent | 2b5e63f6b8f6566161a261a9face1de433d6608e [diff] |
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 <ralf@linux-mips.org> Patchwork: http://patchwork.linux-mips.org/patch/705/