> 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>
> CC:
takata@linux-m32r.org
> CC:
linux-m32r@ml.linux-m32r.org
> CC: Adrian Bunk <bunk@kernel.org>
> ---
> include/asm-m32r/system.h | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>