Message ID | 1687336748-4898-1-git-send-email-yangtiezhu@loongson.cn |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4217061vqr; Wed, 21 Jun 2023 01:53:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Nd/Uv4X5GhE6j4AE1k/P2M8ZiE55hLk4vGxN6IibScazvIZQzy2mdG5O91hxS2Ciihwbz X-Received: by 2002:ac8:5f95:0:b0:3fd:e5dc:adbb with SMTP id j21-20020ac85f95000000b003fde5dcadbbmr13737168qta.9.1687337626287; Wed, 21 Jun 2023 01:53:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687337626; cv=none; d=google.com; s=arc-20160816; b=MDCwG6QW42RIAdLPKIOdp+6vMGFV4rvkQJJb3ctQO/z39eLmjD2C2wcCipfpY8+lU4 efv8zNPbbOPrYJEog1su+F13vsc6/JvZ325X2cBN7AR8mW2zSbiJAt/xN0lVMQ2onjsJ ZZwkJHl34JBHXgO4Nb/boGEYmSVrA7Aaq3CW7PTlzYFCWK0Pn+9xSWiWPP+hh+4ALQnV rGXJcGJ63mR4hOeziwjsZm19vEM7s4F440Fp2Gv3tJnMVfHFzWMrfZetzyDo/fj7JSb2 3e2T0ZMMQKKu+vUBXbQilaxUg506MqcbAuNLeUUq0zf2AAR5aok8E8EFnYFgD+N+Jqdt Argg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=B/kQWkjvna+zET+D/Chla9iq3voJ38M0hXLOA0/SIH4=; b=yWkKtRUbeqA8F/5WapnGOmAnTFUQdLEp8dB9zdHhLfUZeKOVJWyy0YGELVSRfitd1J YN4TH3Qp0mSRey6+0dadnwVp+RqWLbvjNix2E4mDJxlXxCl09XVQZSqqtcsVdj6uhsAa bUj9UA2objaDWjr8fR7509jspfO/jQH5NjNCNwNvj6jvWhXFNLOJE9M7Q2pc2ncEgx/P s6UtOeTQ5zjWEoHFUVro7rTm6t+yMIfoPWTtEvDpo3WrLnzKGkoQ2VZzwndRwEgBavYY ignSxGGo3JYfgYh3r0wuUTt0vUvTTqBbuG4VPBBQ/7qA3eEvpsCSi6gIWfWmNpl3ABgg DYwg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t197-20020a6378ce000000b00551590c9a0dsi3551499pgc.389.2023.06.21.01.53.30; Wed, 21 Jun 2023 01:53:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230098AbjFUIkY (ORCPT <rfc822;maxin.john@gmail.com> + 99 others); Wed, 21 Jun 2023 04:40:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231815AbjFUIj5 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 21 Jun 2023 04:39:57 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E206D26AD; Wed, 21 Jun 2023 01:39:12 -0700 (PDT) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8AxBsUvt5JkrhEAAA--.126S3; Wed, 21 Jun 2023 16:39:11 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Ax3c4st5JkmlAAAA--.2097S2; Wed, 21 Jun 2023 16:39:09 +0800 (CST) From: Tiezhu Yang <yangtiezhu@loongson.cn> To: Arnd Bergmann <arnd@arndb.de> Cc: linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, loongarch@lists.linux.dev, linux-arch@vger.kernel.org, bpf@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn Subject: [PATCH v2 0/2] Unify uapi bitsperlong.h Date: Wed, 21 Jun 2023 16:39:06 +0800 Message-Id: <1687336748-4898-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf8Ax3c4st5JkmlAAAA--.2097S2 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBj93XoW7Zr48Jr1fWw43WFWDury7twc_yoW8ur1DpF 93ArnxWF45CrWayw1rta4jqryUJ397Gr4jgay2qry8XrWIvF1UGrsYkrs3Ca47JayUXFn5 urn3Gry5G3WDK3XCm3ZEXasCq-sJn29KB7ZKAUJUUUUr529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29KBjDU 0xBIdaVrnRJUUU9Fb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2 IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48v e4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI 0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVCY1x0267AK xVW8Jr0_Cr1UM2kKe7AKxVWUXVWUAwAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07 AIYIkI8VC2zVCFFI0UMc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWU XVWUAwAv7VC2z280aVAFwI0_Gr0_Cr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7V AKI48JMxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMxCIbckI1I0E14v2 6r1Y6r17MI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17 CEb7AF67AKxVWUtVW8ZwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF 0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIx AIcVC2z280aVAFwI0_Gr0_Cr1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2 KfnxnUUI43ZEXa7IU8CksDUUUUU== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769301739016919201?= X-GMAIL-MSGID: =?utf-8?q?1769301739016919201?= |
Series | Unify uapi bitsperlong.h | |
Message
Tiezhu Yang
June 21, 2023, 8:39 a.m. UTC
v2: -- Check __CHAR_BIT__ and __SIZEOF_LONG__ rather than __aarch64__, __riscv, __loongarch__, thanks Ruoyao -- Update the code comment and commit message v1: -- Rebase on 6.4-rc6 -- Only unify uapi bitsperlong.h for arm64, riscv and loongarch -- Remove uapi bitsperlong.h of hexagon and microblaze in a new patch Here is the RFC patch: https://lore.kernel.org/linux-arch/1683615903-10862-1-git-send-email-yangtiezhu@loongson.cn/ Tiezhu Yang (2): asm-generic: Unify uapi bitsperlong.h for arm64, riscv and loongarch tools arch: Remove uapi bitsperlong.h of hexagon and microblaze arch/arm64/include/uapi/asm/bitsperlong.h | 24 ------------------- arch/loongarch/include/uapi/asm/bitsperlong.h | 9 -------- arch/riscv/include/uapi/asm/bitsperlong.h | 14 ----------- include/uapi/asm-generic/bitsperlong.h | 11 +++++++++ tools/arch/arm64/include/uapi/asm/bitsperlong.h | 24 ------------------- tools/arch/hexagon/include/uapi/asm/bitsperlong.h | 27 ---------------------- .../arch/loongarch/include/uapi/asm/bitsperlong.h | 9 -------- .../arch/microblaze/include/uapi/asm/bitsperlong.h | 2 -- tools/arch/riscv/include/uapi/asm/bitsperlong.h | 14 ----------- tools/include/uapi/asm-generic/bitsperlong.h | 12 ++++++++++ tools/include/uapi/asm/bitsperlong.h | 6 ----- 11 files changed, 23 insertions(+), 129 deletions(-) delete mode 100644 arch/arm64/include/uapi/asm/bitsperlong.h delete mode 100644 arch/loongarch/include/uapi/asm/bitsperlong.h delete mode 100644 arch/riscv/include/uapi/asm/bitsperlong.h delete mode 100644 tools/arch/arm64/include/uapi/asm/bitsperlong.h delete mode 100644 tools/arch/hexagon/include/uapi/asm/bitsperlong.h delete mode 100644 tools/arch/loongarch/include/uapi/asm/bitsperlong.h delete mode 100644 tools/arch/microblaze/include/uapi/asm/bitsperlong.h delete mode 100644 tools/arch/riscv/include/uapi/asm/bitsperlong.h