summaryrefslogtreecommitdiff
path: root/include/linux/serial_core.h
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2014-09-24 14:26:21 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-25 14:17:25 +0400
commitcc952e7017fa2e8871ee6a94f2c606ff5911f61e (patch)
tree10c8bd48bc4e96d8516132fb3e6aa69a2059c515 /include/linux/serial_core.h
parent99416322dd16b810ba74098cc50ef2a844091d35 (diff)
downloadlinux-cc952e7017fa2e8871ee6a94f2c606ff5911f61e.tar.xz
tty: Fix width of unsigned long bitfield padding
Commit c545b66c6922b002b5fe224a6eaec58c913650b5, 'tty: Serialize tcflow() with other tty flow control changes' and commit 99416322dd16b810ba74098cc50ef2a844091d35, 'tty: Workaround Alpha non-atomic byte storage in tty_struct' work around compiler bugs and non-atomic storage on multiple arches by padding bitfields out to the declared type which is unsigned long. However, the width varies by arch. Pad bitfields to actual width of unsigned long (which is BITS_PER_LONG). Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serial_core.h')
0 files changed, 0 insertions, 0 deletions