From: Sebastian Andrzej Siewior Date: Mon, 29 Sep 2014 07:13:37 +0000 (+0200) Subject: tty: serial: 8250: use 32bit variable for rpm_tx_active X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1f7f63810814cff0c073ac8b41f451e7ce3f3e9;p=pandora-kernel.git 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() and arm and x86 specific one work for variables of size one bye (char). According to the report powerpc does only support xchg() for 1 byte variables and looking further it seems to be the same case for sparc or 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. Signed-off-by: Sebastian Andrzej Siewior --- Reading git-diff-tree failed