Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp13881imm; Thu, 4 Oct 2018 15:31:06 -0700 (PDT) X-Google-Smtp-Source: ACcGV63FumDP4MhwhH9Am3lJdY4WAgsl2lI74gavuldCVJ/Y2EA5qf9BmUTtYLeHrfky6GwjY3o+ X-Received: by 2002:a62:4c3:: with SMTP id 186-v6mr8717541pfe.156.1538692266174; Thu, 04 Oct 2018 15:31:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538692266; cv=none; d=google.com; s=arc-20160816; b=JqsgmZHJ0BkqWg6mZQ/7zyOLrXsTXpROK//XgPJSjn1zAuR46JswlWw84yJiVSyiov qndpcfvoVdQwVKZwP0PYxTVAS8cFIp5xHtoDFrNtVN/MTJhbRL5jhaJdPb5A96YSYrT3 MEk+VQun8hWcFIyYwfc+KJ7JM6e/ErZvsSBTmxmUI/U2PVhofPBkBTYpEvLdPaIe0gUl hviH5+JqkL0dciuQR6uamgLZGm5dNmzGz2iTJrJGKAUDX+ZzNvDMofMi9ifm58TjTZbr eU9moFsRscoBcwnYkS/gCtzN2f53TFA/mljxvISaQ4FI/p8jcmhRtUzx4TULcS4NYjNu cC3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=8dsZdGqbyVqzer/lbdsrehqaWF1/uptdoC5PvMWst7A=; b=SnvA4Oq3O/L8DH/6YDzd3w5XYGH2m6XoRD9S0OzcbpkEgLlWhn8ouCX6NyA3WakK9K 0gBRIB/73hL3jzJ6vopkzBifT/t9cPJwWtVEfgJo4BQ0xp4leUKTpiU+5yoMJzV+Du5v G3tBc5XrfL26z4ott56xHMmp4Qc6MtuDdeE2wVJa7S/P+jJOQM29MX8Jbw4+F2iv0cA+ 1GtV8rgF9oMsncAwGos2JotQhxIuMmXo8HOylMBw/KUoiXczoV1I/JncQlB7YuNNjkLj a+jHD/YCUNENF73UxZGZdbm7SBXIKwUIE1cy2RL2JRfdeu5Ua70Y+zgL2nw/hSfEfNtN LQ6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c10-v6si6676104pla.189.2018.10.04.15.30.51; Thu, 04 Oct 2018 15:31:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728089AbeJEFZw (ORCPT + 99 others); Fri, 5 Oct 2018 01:25:52 -0400 Received: from mga17.intel.com ([192.55.52.151]:23017 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727835AbeJEFZv (ORCPT ); Fri, 5 Oct 2018 01:25:51 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Oct 2018 15:30:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,341,1534834800"; d="scan'208";a="94741865" Received: from hanvin-mobl2.amr.corp.intel.com ([10.254.189.220]) by fmsmga004.fm.intel.com with ESMTP; 04 Oct 2018 15:30:01 -0700 From: "H. Peter Anvin (Intel)" 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 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> X-Mailer: git-send-email 2.14.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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: