Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tty: Fix width of unsigned long bitfield padding
Commit c545b66, 'tty: Serialize tcflow() with other tty flow control changes' and commit 9941632, '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>
- Loading branch information