commit | 2501cf768e4009a06287a5ee842fd93dd4fd690e | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Wed Mar 28 18:30:02 2012 +0100 |
committer | David Howells <dhowells@redhat.com> | Wed Mar 28 18:30:02 2012 +0100 |
tree | 06fa9a44fe28710000539d25ede65fd7e0c1f6ec | |
parent | c9034c3a1d67486284b3b569595a4bd377aaf8cc [diff] |
m68k: Fix xchg/cmpxchg to fail to link if given an inappropriate pointer Fix the m68k versions of xchg() and cmpxchg() to fail to link if given an inappropriately sized pointer rather than BUG()'ing at runtime. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Greg Ungerer <gerg@uclinux.org> cc: linux-m68k@lists.linux-m68k.org