summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/traps.c
diff options
context:
space:
mode:
authorpan xinhui2016-02-23 12:05:01 +0100
committerMichael Ellerman2016-02-24 10:08:48 +0100
commit10d8b1480e6966ba03cd3afad3b5d6eb5e341fae (patch)
tree5ab67c34061bb141ec4a6e231ebfd01d4d08faef /arch/powerpc/kernel/traps.c
parentpowerpc/powernv: Add AST graphics driver to powernv_defconfig (diff)
downloadkernel-qcow2-linux-10d8b1480e6966ba03cd3afad3b5d6eb5e341fae.tar.gz
kernel-qcow2-linux-10d8b1480e6966ba03cd3afad3b5d6eb5e341fae.tar.xz
kernel-qcow2-linux-10d8b1480e6966ba03cd3afad3b5d6eb5e341fae.zip
powerpc: Use BUILD_BUG_ON_MSG() for unsupported {cmp}xchg sizes
__xchg_called_with_bad_pointer() can't tell us which code uses {cmp}xchg with an unsupported size, and no error is reported until the link stage. To make such problems easier to debug, use BUILD_BUG_ON_MSG() instead. Signed-off-by: pan xinhui <xinhui.pan@linux.vnet.ibm.com> [mpe: Tweak change log wording & add relaxed/acquire] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> fixup
Diffstat (limited to 'arch/powerpc/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions