<asm/termbits.h> 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. <asm-generic/termbits.h> 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) <h...@zytor.com> Cc: "James E.J. Bottomley" <j...@parisc-linux.org> Cc: Arnd Bergmann <a...@arndb.de> Cc: Chris Zankel <ch...@zankel.net> Cc: Fenghua Yu <fenghua...@intel.com> Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> Cc: Helge Deller <del...@gmx.de> Cc: James Hogan <jho...@kernel.org> Cc: Jiri Slaby <jsl...@suse.com> Cc: Kate Stewart <kstew...@linuxfoundation.org> Cc: Max Filippov <jcmvb...@gmail.com> Cc: Paul Burton <paul.bur...@mips.com> Cc: Philippe Ombredanne <pombreda...@nexb.com> Cc: Ralf Baechle <r...@linux-mips.org> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Tony Luck <tony.l...@intel.com> Cc: <linux-i...@vger.kernel.org> Cc: <linux-m...@linux-mips.org> Cc: <linux-par...@vger.kernel.org> Cc: <linux-xte...@linux-xtensa.org>