Message ID | 20230306100508.1171812-13-alexghiti@rivosinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1761011wrd; Mon, 6 Mar 2023 02:26:24 -0800 (PST) X-Google-Smtp-Source: AK7set8mP0ykzs0C6mOjyjqOkC3LVu0GJWsKmWhTR4vTPcIblkeLkGaHzU2eWUJKKLjT1ydrAaSA X-Received: by 2002:aa7:d404:0:b0:4aa:ca81:a528 with SMTP id z4-20020aa7d404000000b004aaca81a528mr8511504edq.40.1678098383899; Mon, 06 Mar 2023 02:26:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678098383; cv=none; d=google.com; s=arc-20160816; b=zw9C3UWsPgWPBm9AD+a3otWJY4v8kvuBZJGouHZUba3rrUZgytnrRFOuMqZjDGuI0N yBE4w4skpg2vvKIsihmLcHbMNKSUXGCgFvzwe+vciI0lBDgQpORdn2ZejoSGoZS84q2/ 0XurBDtM2nI5okzMKV4W6JPcEWZizLIYKVTAcE/GnR+r10Xpm+w8JprH/O89eHDKLxMo fKw3A+9OSE362lxfLhmi636BsUL9dymdLKOpfEuvpRVtZ3N+fduSCT7/18SGATHXe7JR OuA/tdUcAMpqC9VCwcINg3RKqKbhTHDFje3/bBE3phVZfgwwLK+opg/URfHybFpONcrk zo5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Z8jUAHwbVMbK8RWIko2xHqtBuL1KyylMgTUrOJjOCCU=; b=AoKlHYPykdH0VVqUXJ5y3Q5S65wMwyH+41CPq/vUwhEoMpLGJJrMtquhcuVrU0lbqk qC6zV7Sb/KJRZYWNuY4gfE0aNtpgO3ShW1ug/Ft11aojBXSt60pN6B+snc+kTO6qPASQ 3zUr08RLN9Yn/we93jOFMA2lMFmUZYWxlE5zFpanG06beBF5Kt0FeRsa6OXzWjxNlXE1 i+0A9gnYs94JZpBaz/EAw0jcMmn80dvfSgc/5pRs5Oc3ieBTg1bmMZn19y/ol05oGoiE f2iYqltx2vVaYeR3Z7fxRkOdNjKsTh9knWUyYdmpRRLCqMwNCkJDNF8xO8jfvKOTEukF 0tgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=ObAuaO9c; 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 n23-20020a056402061700b004c26b68c120si9531839edv.420.2023.03.06.02.26.00; Mon, 06 Mar 2023 02:26:23 -0800 (PST) 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; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=ObAuaO9c; 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 S231171AbjCFKSt (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Mon, 6 Mar 2023 05:18:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230382AbjCFKSd (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 6 Mar 2023 05:18:33 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32C8E2068F for <linux-kernel@vger.kernel.org>; Mon, 6 Mar 2023 02:18:06 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id bx12so8181935wrb.11 for <linux-kernel@vger.kernel.org>; Mon, 06 Mar 2023 02:18:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; t=1678097884; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Z8jUAHwbVMbK8RWIko2xHqtBuL1KyylMgTUrOJjOCCU=; b=ObAuaO9co25nDQl/gLe8rOAnmY1SJ/MNRhZIQLKvd0dmJCtejEEAp9VjO5ueZmwq77 2sunlhagXc3ZRybQbORIgvtgjh2qkEyP6dv7mjew9nO81QWyUrOD18KnIi89JuAWKlVQ wBph9u5vcEXAFYKLw2R1CaYoc/es0FtEj3ptmhTiLJcfltfN7VENgL7XAlyBeI8VmhHZ HyeE5iyj056diT+pPhE/AqYPqTCqF7h1UEuIvxZm0jb1cWuzCuAJzCmptfafE+KvmsgO fqTB6T4p5bWSknr0H9aeAMEfr7ytra6qOWt2uq2+LIupXu7k3sa8nDlKt7kxGOLDaV+v Dpfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678097884; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Z8jUAHwbVMbK8RWIko2xHqtBuL1KyylMgTUrOJjOCCU=; b=BmM4EB5TsKViH1ydsxQrly3SwFCGHw14oLkPceEeMIN7fc2MlpM2PQkw2XTSaXowaw A+pGQP86IlUu2upsvKyqIE3JJwDjOUVfplIHFd1AD5kwR9YWm05snrKYHbT/H31tZynT /5jzioN3bzMokPyaihD8IlYl9+qzS0xoQjJHhGqjwuQ//ynBwpYJJ5kXB9coBmF4J6sH joZ0hWPYBnPhsr7V0sidIL6YGo0Ns3Fwf1LfCri09JZ88AfwOSFScKnnkL7o1f8XpC4v VA8IpwcWLAZJ9Np4s0USqhgxXcqdzvuQu90A8u8RPOfY3oaqbIR2z8pdaU7T+cmLO5jS bYNw== X-Gm-Message-State: AO0yUKV6001SoWspCcznFGHkrvmGt91m9zyyCzt1YLeq1WmWY7eYzFgW JGd6DtSIXz+7n119dSLYMk6m/Q== X-Received: by 2002:a5d:46c8:0:b0:2c7:df1:a09d with SMTP id g8-20020a5d46c8000000b002c70df1a09dmr6140936wrs.4.1678097884571; Mon, 06 Mar 2023 02:18:04 -0800 (PST) Received: from alex-rivos.ba.rivosinc.com (amontpellier-656-1-456-62.w92-145.abo.wanadoo.fr. [92.145.124.62]) by smtp.gmail.com with ESMTPSA id a7-20020a5d4d47000000b002c5706f7c6dsm9442743wru.94.2023.03.06.02.18.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Mar 2023 02:18:04 -0800 (PST) From: Alexandre Ghiti <alexghiti@rivosinc.com> To: Greg KH <gregkh@linuxfoundation.org>, Jonathan Corbet <corbet@lwn.net>, Richard Henderson <richard.henderson@linaro.org>, Ivan Kokshaysky <ink@jurassic.park.msu.ru>, Matt Turner <mattst88@gmail.com>, Vineet Gupta <vgupta@kernel.org>, Russell King <linux@armlinux.org.uk>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Huacai Chen <chenhuacai@kernel.org>, WANG Xuerui <kernel@xen0n.name>, Geert Uytterhoeven <geert@linux-m68k.org>, Michal Simek <monstr@monstr.eu>, Thomas Bogendoerfer <tsbogend@alpha.franken.de>, "James E . J . Bottomley" <James.Bottomley@HansenPartnership.com>, Helge Deller <deller@gmx.de>, Michael Ellerman <mpe@ellerman.id.au>, Nicholas Piggin <npiggin@gmail.com>, Christophe Leroy <christophe.leroy@csgroup.eu>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Heiko Carstens <hca@linux.ibm.com>, Vasily Gorbik <gor@linux.ibm.com>, Alexander Gordeev <agordeev@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Sven Schnelle <svens@linux.ibm.com>, Yoshinori Sato <ysato@users.sourceforge.jp>, Rich Felker <dalias@libc.org>, "David S . Miller" <davem@davemloft.net>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, x86@kernel.org, "H . Peter Anvin" <hpa@zytor.com>, Chris Zankel <chris@zankel.net>, Max Filippov <jcmvbkbc@gmail.com>, Arnd Bergmann <arnd@arndb.de>, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-xtensa@linux-xtensa.org, linux-arch@vger.kernel.org Cc: Alexandre Ghiti <alexghiti@rivosinc.com> Subject: [PATCH v5 12/26] riscv: Remove COMMAND_LINE_SIZE from uapi Date: Mon, 6 Mar 2023 11:04:54 +0100 Message-Id: <20230306100508.1171812-13-alexghiti@rivosinc.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230306100508.1171812-1-alexghiti@rivosinc.com> References: <20230306100508.1171812-1-alexghiti@rivosinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1759613691394501966?= X-GMAIL-MSGID: =?utf-8?q?1759613691394501966?= |
Series |
Remove COMMAND_LINE_SIZE from uapi
|
|
Commit Message
Alexandre Ghiti
March 6, 2023, 10:04 a.m. UTC
As far as I can tell this is not used by userspace and thus should not
be part of the user-visible API.
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
---
arch/riscv/include/asm/setup.h | 7 +++++++
arch/riscv/include/uapi/asm/setup.h | 2 --
2 files changed, 7 insertions(+), 2 deletions(-)
create mode 100644 arch/riscv/include/asm/setup.h
Comments
On Mon, 06 Mar 2023 02:04:54 PST (-0800), alexghiti@rivosinc.com wrote: > As far as I can tell this is not used by userspace and thus should not > be part of the user-visible API. > > Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com> > --- > arch/riscv/include/asm/setup.h | 7 +++++++ > arch/riscv/include/uapi/asm/setup.h | 2 -- > 2 files changed, 7 insertions(+), 2 deletions(-) > create mode 100644 arch/riscv/include/asm/setup.h > > diff --git a/arch/riscv/include/asm/setup.h b/arch/riscv/include/asm/setup.h > new file mode 100644 > index 000000000000..f165a14344e2 > --- /dev/null > +++ b/arch/riscv/include/asm/setup.h > @@ -0,0 +1,7 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > +#ifndef _ASM_RISCV_SETUP_H > +#define _ASM_RISCV_SETUP_H > + > +#define COMMAND_LINE_SIZE 1024 > + > +#endif /* _ASM_RISCV_SETUP_H */ > diff --git a/arch/riscv/include/uapi/asm/setup.h b/arch/riscv/include/uapi/asm/setup.h > index 66b13a522880..17fcecd4a2f8 100644 > --- a/arch/riscv/include/uapi/asm/setup.h > +++ b/arch/riscv/include/uapi/asm/setup.h > @@ -3,6 +3,4 @@ > #ifndef _UAPI_ASM_RISCV_SETUP_H > #define _UAPI_ASM_RISCV_SETUP_H > > -#define COMMAND_LINE_SIZE 1024 > - > #endif /* _UAPI_ASM_RISCV_SETUP_H */ Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com> Acked-by: Palmer Dabbelt <palmer@rivosinc.com> Thanks!
diff --git a/arch/riscv/include/asm/setup.h b/arch/riscv/include/asm/setup.h new file mode 100644 index 000000000000..f165a14344e2 --- /dev/null +++ b/arch/riscv/include/asm/setup.h @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _ASM_RISCV_SETUP_H +#define _ASM_RISCV_SETUP_H + +#define COMMAND_LINE_SIZE 1024 + +#endif /* _ASM_RISCV_SETUP_H */ diff --git a/arch/riscv/include/uapi/asm/setup.h b/arch/riscv/include/uapi/asm/setup.h index 66b13a522880..17fcecd4a2f8 100644 --- a/arch/riscv/include/uapi/asm/setup.h +++ b/arch/riscv/include/uapi/asm/setup.h @@ -3,6 +3,4 @@ #ifndef _UAPI_ASM_RISCV_SETUP_H #define _UAPI_ASM_RISCV_SETUP_H -#define COMMAND_LINE_SIZE 1024 - #endif /* _UAPI_ASM_RISCV_SETUP_H */