Message ID | 20221211061358.28035-10-palmer@rivosinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1640376wrr; Sat, 10 Dec 2022 22:19:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf5jRNM8jVmP3/sLLua8F+sbqYxrfEsPOC5xyiLixI3pkoJNeVmvtoeDTAmO0d8jAmr5XXIP X-Received: by 2002:a05:6a21:999d:b0:9d:efd3:66f2 with SMTP id ve29-20020a056a21999d00b0009defd366f2mr18545753pzb.57.1670739582283; Sat, 10 Dec 2022 22:19:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670739582; cv=none; d=google.com; s=arc-20160816; b=hy5fudM057RG+zadF9+0r9CFhLLrY+j3R1w8H5dNBcQ5qRanrRGFKCiHsGerH0BHOq ssKwtQ2UnKdoWs1aqC/wwYVLR/bmsKtlXwcwavQ6CLf9s6fY/Bh1AjcP4s3+hWVnY8Xc vfvq8lETLlIxabcbzJ7DJI6/Ndlmc15W55r1CT8r7VytJR/xWGMb07LAHS1QLHHoJk5o Ksdl4O6edLuOtW27rXaucuIFqy8fPEuwjNkAKukzAunERSVhdYs5NAfVmKRIzEPP80hu HhST4PfeRQgei+ABSPYK6Ip29pOWDhrTak+L7E2qGmtPPivBeAoBr4yBgO2w7GSNux8G LWJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:cc:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject :dkim-signature; bh=cPBm/ly9RBblZf7v4uTZvkbr2yaBuLRE19pxufz2+Qo=; b=ZIk2bY/M2XEyIYayzvRtTCPe85CAGuZJmCqR5BZgpZ3tPp96UiCo1OG3wzfnVHeaLL hzTneCYQmB7CghoHkXElzlSpDpEFSPxT/Dh/3Z2N2MBxXegLdImz83DLjyGA/E9f36YI cjjMM5Dz4Am1dakQsjusxIkgZq/JP29kTM2zBHC8J2w7kPbRpBVbirVGIf2ZdhAjyzso qqOQjv6S61Kw6GsKShA6Zrk0hgvGDjPWjReChT40fQuUfUwyZx/9ytjDmMJm/NGtUi4A sAw+A0qkTJZi2vTGDoVM7J7JeqrU4oPwZvPsBnvv/Uz7nE+DBMrdR0trjMn37aD6i5hp dEQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=F0XaqPv5; 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 s197-20020a632cce000000b0047886bf1542si6452507pgs.14.2022.12.10.22.19.29; Sat, 10 Dec 2022 22:19:42 -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=F0XaqPv5; 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 S230160AbiLKGSa (ORCPT <rfc822;baris.duru.linux@gmail.com> + 99 others); Sun, 11 Dec 2022 01:18:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230022AbiLKGSE (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 11 Dec 2022 01:18:04 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F98DFCD for <linux-kernel@vger.kernel.org>; Sat, 10 Dec 2022 22:17:41 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id w23so8937130ply.12 for <linux-kernel@vger.kernel.org>; Sat, 10 Dec 2022 22:17:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=to:from:cc:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:from:to:cc:subject:date :message-id:reply-to; bh=cPBm/ly9RBblZf7v4uTZvkbr2yaBuLRE19pxufz2+Qo=; b=F0XaqPv5r27ASFNBC8Kjl1AIj8tX1o+JwZGTjClrmmsW0vWdoqo9TZ2/HEtXgCGiI1 TJK69S6h1coA2iAXKBQus6kq1X3jNAY5GuuhbkxUf7UUrQQjtqrVgCbDBbPhv4NubNrh w9hC6+KWWIHADOVxYLrO+nR0ObrwTlO/7030E4D8jrlYJkAl2LmNagzYCuW1RjFkbT/v lQNBn8qrh4n/0xKtPerhoEXY5q/GNl4QoeTxpU/NTtFg2UXklQgGj8cT9ly7gz9afL/7 L9SU9NUMSnMG5vPjHM//6So6SbCkx2AMsafAXQw32kAHwS3kYcUtyac26GY5AZ2EXinu dCsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:cc:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cPBm/ly9RBblZf7v4uTZvkbr2yaBuLRE19pxufz2+Qo=; b=m3+7Dqm7lNRoXUE2llE5UWmxSCqEuaSqhEA9yQKUxkfUmrqXDEdYbiUNNfrkTjuNZo OotnMX/uz3Lq2vNAxoQQERRsa6xhg27vML/IIJ7g7N3vnmuUAR/Rft3UYPx9ORs9OLtS tssudUvIBo5eeC/t3QVe5PfIkEt4d/et/2gtYyq60IsFYiYlJxIKqQhFs4SXfXZivQmV /KpdVlAEm/mG1+ZWPBt/xmIF3LnYQupBi8AvR3KAZu7UPqoRVMXXN3kzsU09Vhm/2sdh bkE0CQmCkIslpGWAAGIgo0qDYMWk5i+vS2koBSHUZ+aJSXINXfpKii0d62/nTKHUFtGU 7/Wg== X-Gm-Message-State: ANoB5pkdCXtsIx1MeiQm59CeEpY0UydKWPcyLFebTLyfyo+f6rVtyl7n GrKNNrG8doN9NyKiUSRESwt13w== X-Received: by 2002:a17:902:744b:b0:189:9cfd:be72 with SMTP id e11-20020a170902744b00b001899cfdbe72mr11663209plt.8.1670739460650; Sat, 10 Dec 2022 22:17:40 -0800 (PST) Received: from localhost ([135.180.226.51]) by smtp.gmail.com with ESMTPSA id d7-20020a170903230700b00186881e1feasm3831421plh.112.2022.12.10.22.17.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Dec 2022 22:17:40 -0800 (PST) Subject: [PATCH v2 09/24] powerpc: Remove COMMAND_LINE_SIZE from uapi Date: Sat, 10 Dec 2022 22:13:43 -0800 Message-Id: <20221211061358.28035-10-palmer@rivosinc.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221211061358.28035-1-palmer@rivosinc.com> References: <20221211061358.28035-1-palmer@rivosinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Palmer Dabbelt <palmer@rivosinc.com> From: Palmer Dabbelt <palmer@rivosinc.com> To: Arnd Bergmann <arnd@arndb.de>, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org 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=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?1751897428381426450?= X-GMAIL-MSGID: =?utf-8?q?1751897428381426450?= |
Series |
Remove COMMAND_LINE_SIZE from uapi
|
|
Commit Message
Palmer Dabbelt
Dec. 11, 2022, 6:13 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: Palmer Dabbelt <palmer@rivosinc.com>
---
This leaves an empty <uapi/asm/setup.h>, which will soon be cleaned up.
---
arch/powerpc/include/asm/setup.h | 2 +-
arch/powerpc/include/uapi/asm/setup.h | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/powerpc/include/asm/setup.h b/arch/powerpc/include/asm/setup.h index e29e83f8a89c..31786d1db2ef 100644 --- a/arch/powerpc/include/asm/setup.h +++ b/arch/powerpc/include/asm/setup.h @@ -2,7 +2,7 @@ #ifndef _ASM_POWERPC_SETUP_H #define _ASM_POWERPC_SETUP_H -#include <uapi/asm/setup.h> +#define COMMAND_LINE_SIZE 2048 #ifndef __ASSEMBLY__ extern void ppc_printk_progress(char *s, unsigned short hex); diff --git a/arch/powerpc/include/uapi/asm/setup.h b/arch/powerpc/include/uapi/asm/setup.h index c54940b09d06..f2ca747aa45b 100644 --- a/arch/powerpc/include/uapi/asm/setup.h +++ b/arch/powerpc/include/uapi/asm/setup.h @@ -2,6 +2,4 @@ #ifndef _UAPI_ASM_POWERPC_SETUP_H #define _UAPI_ASM_POWERPC_SETUP_H -#define COMMAND_LINE_SIZE 2048 - #endif /* _UAPI_ASM_POWERPC_SETUP_H */