aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m32r/kernel/smpboot.c
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2008-02-07 00:16:18 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-07 08:42:32 -0800
commitf94d1d3a1df125461a16b2888eca46d64f113e3a (patch)
tree35991d4f2f00dd9f3df1fe5d0ca53b5e01545f67 /arch/m32r/kernel/smpboot.c
parentNew cmpxchg_local (optimized for UP case) for m32r (diff)
downloadlinux-dev-f94d1d3a1df125461a16b2888eca46d64f113e3a.tar.xz
linux-dev-f94d1d3a1df125461a16b2888eca46d64f113e3a.zip
Fix m32r __xchg
the #endif /* CONFIG_SMP */ should cover the default condition, or it may cause bad parameter to be silently missed. To make it work correctly, we have to remove the ifdef CONFIG SMP surrounding __xchg_called_with_bad_pointer declaration. Thanks to Adrian Bunk for detecting this. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Acked-by: Hirokazu Takata <takata@linux-m32r.org> Cc: Adrian Bunk <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions