From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin (Intel)" Subject: [PATCH 0/5] termios: remove arch redundancy in Date: Thu, 4 Oct 2018 15:29:48 -0700 Message-ID: <20181004222953.2229-1-hpa@zytor.com> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-serial@vger.kernel.org Cc: "H. Peter Anvin (Intel)" , "James E.J. Bottomley" , Arnd Bergmann , Chris Zankel , Fenghua Yu , Greg Kroah-Hartman , Helge Deller , James Hogan , Jiri Slaby , Kate Stewart , Max Filippov , Paul Burton , Philippe Ombredanne , Ralf Baechle , Thomas Gleixner , Tony Luck , linux-ia64@vger.kernel.org, linux-mips@linux-mips.org, linux-parisc@vger.kernel.org, linux-xtensa@linux-xtensa.org List-Id: linux-serial@vger.kernel.org is one of those files which define an ABI. Some were made different due to the desire to be compatible with legacy architectures, others were mostly direct copies of the i386 definitions, which are now in asm-generic. This folds the IA64, MIPS, PA-RISC, and Xtensa implementations into the generic one. IA64 and Xtensa are identical, MIPS and PA-RISC are trivially different and just need a handful of constants redefined. has a few very minor adjustments to allow this. arch/ia64/include/uapi/asm/termbits.h | 210 +----------------------------- arch/mips/include/uapi/asm/ioctls.h | 2 + arch/mips/include/uapi/asm/termbits.h | 213 ++---------------------------- arch/parisc/include/uapi/asm/termbits.h | 197 +--------------------------- arch/xtensa/include/uapi/asm/termbits.h | 222 +------------------------------- include/uapi/asm-generic/termbits.h | 7 +- 6 files changed, 27 insertions(+), 824 deletions(-) Signed-off-by: H. Peter Anvin (Intel) Cc: "James E.J. Bottomley" Cc: Arnd Bergmann Cc: Chris Zankel Cc: Fenghua Yu Cc: Greg Kroah-Hartman Cc: Helge Deller Cc: James Hogan Cc: Jiri Slaby Cc: Kate Stewart Cc: Max Filippov Cc: Paul Burton Cc: Philippe Ombredanne Cc: Ralf Baechle Cc: Thomas Gleixner Cc: Tony Luck Cc: Cc: Cc: Cc: