<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) <[email protected]> Cc: "James E.J. Bottomley" <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Chris Zankel <[email protected]> Cc: Fenghua Yu <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Helge Deller <[email protected]> Cc: James Hogan <[email protected]> Cc: Jiri Slaby <[email protected]> Cc: Kate Stewart <[email protected]> Cc: Max Filippov <[email protected]> Cc: Paul Burton <[email protected]> Cc: Philippe Ombredanne <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Tony Luck <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]>

