diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2014-09-29 10:21:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-29 18:20:38 -0700 |
commit | baeb7ef34952f523a129e5d1369aa42ecbe7f8c9 (patch) | |
tree | f528e8ff4b011c52fb244dd2f26efd1c0ce8e0e3 /Documentation/serial | |
parent | 0efe72963409739778e93d8e2046305bc8310e83 (diff) | |
download | linux-baeb7ef34952f523a129e5d1369aa42ecbe7f8c9.tar.bz2 |
tty: serial: 8250: use 32bit variable for rpm_tx_active
The kbuild test robot wrote me:
| make.cross ARCH=powerpc
|>> ERROR: ".__xchg_called_with_bad_pointer" [drivers/tty/serial/8250/8250.ko] undefined!
The generic implementation of xchg() on arm and x86 works for variables of
size one bye (char). According to the report powerpc does not support
xchg() for one byte sized variables and looking further it seems also to
be the same case for sparc and tile (or for 10 out of 26 architectures
which provide a custom implementation).
For that reason I increase the size of the variable from one to four
bytes to get it work on powerpc (and the others).
Reported-By: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/serial')
0 files changed, 0 insertions, 0 deletions