Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5115832rwb; Sat, 10 Dec 2022 23:44:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Pf+7jWvGoT/22ISQn060J6H8aKHrIYcZSNULjrWr6MRH2R0MocOL98bmKAutCZJBHT+5Q X-Received: by 2002:a17:906:3fd1:b0:7ad:d7a4:4346 with SMTP id k17-20020a1709063fd100b007add7a44346mr14737857ejj.66.1670744648368; Sat, 10 Dec 2022 23:44:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670744648; cv=none; d=google.com; s=arc-20160816; b=jTzDgFWFD1MHSKNAeQdOCU6F+2ev5uWzbgiGVMu2QQKjAUO5u8FaYXExSegRh/VGUI TCV7k+tndEyrMmZMF6yqPXtgBuQ7L42sVIm6oo9tWG7a8HLF6NkR+eJE7dAfhpi8aIBd W5pNQOlU/aqD1RSHMZnixVViL2eq4zPvRE+gvxBNE3qLnG0ohDd5n0Z/W2ImFVFmZRMV phcSN+Or1uv7jok3sjcEw5wpl7byfTSir8H6hYT5RrKbYjkE/SjCcgdDBKY74EdUmabN DVyTBRnIG6arzk4fIqtoVNCgQqsAmBF224pvpLW37zQpsPH40fRYk1MixbV9TBRTnuu7 ZNWg== 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=nH4URxE9NVaJTKcN9EBTlF7LMLUdCbttgGWf5jBmHOA=; b=EQY9jcZNUKcSRodNXPD4avaWKWX98gSUcgnIDVK8RwQM/QCVr71v5N+bXH3Ropy7kH Ihj/sBsRq9AT/M7+6B2TzChuZK9qBHrpyDoqBzeWAPZSstL5iAo6lnvHwPw93abMEECC 08AnuzTks3fKVY+ahCEL7q+a51m41fd9/fZb7U/t2B5yhOwz24U0zizcLPZZTmoM4x4m +HI11XkAVxDa00xVSD1u+XFn6873/cVy/k4jx0zThrPuyw+Ew3/eMLdo029H76OiA6Gz ReLRDB2pdrmuYUBldaAKqJ7b8KowzbKdcXqtnmkyYU1y7LOpNp/RwLprxuJulsTwFxRd USKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=3orbDVcK; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne9-20020a1709077b8900b007c0c1cd86cfsi4321699ejc.36.2022.12.10.23.43.50; Sat, 10 Dec 2022 23:44:08 -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=3orbDVcK; 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 S230071AbiLKGS5 (ORCPT + 75 others); Sun, 11 Dec 2022 01:18:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230118AbiLKGSP (ORCPT ); Sun, 11 Dec 2022 01:18:15 -0500 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A8181107 for ; Sat, 10 Dec 2022 22:17:42 -0800 (PST) Received: by mail-pj1-x102f.google.com with SMTP id gt4so7197629pjb.1 for ; Sat, 10 Dec 2022 22:17:42 -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=nH4URxE9NVaJTKcN9EBTlF7LMLUdCbttgGWf5jBmHOA=; b=3orbDVcKBSfVDHyPZ2e8HbUMgcHencxMMKa4rIJa/Ef4pi9/g1RPR7X+l3iqJB+ygS mzRQEZRtdaINk+4wSrjRB/B/xDklotbWBlsUXg7G2A6B0nP0fLqegAcVktXppEq+GCIM UIZC0ip0QVbWMg0REf0hCko0wE/GK6i2qNm4oa03YQwQqKyPkpKSfMe/u8lS/3HDC6Uj srB8ceAMm+k0vnesbOKpZ6zrsUTmKA10Dwk351orMLp/spLHYnDuqxpUpweD9BSAG6Wz lqB86iNQlj8M1A6QYXNUuYGcfO9foyUHscYfwWYZQYXdKxz1SuHDYR2KCY+np6HA/+Ls YYzw== 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=nH4URxE9NVaJTKcN9EBTlF7LMLUdCbttgGWf5jBmHOA=; b=eBsn4m/bm/E5Y5RMcAIXzRdta2VmymzpjW0oliUn8dy0K5Y54WCMsi8y1opszFKCt/ 3yNm/J9UICbTLaHNozcXhqAcZUZKXLpYCC63VinebV4cLlbFlL7RTErN8xKT7GioGrGO vqJscwTuL4NIe3AC17WaBIDip7WX2VdlmH34QpwrJNszUE9/rT7Bvu/DILsnOM+FUsZM G147FNs25jtbq1iy066Rvm4ZwuJeaTNxx2Oq7mEdSb7QjEd9YtLnUdIqU9kcMxs07iOE NZEwV38tM0gEhHHon1R6vNStAJuTlWZJO5nyH7O+/qDGXnMYS2FNTXfY+k18fKFdhiGs NLJA== X-Gm-Message-State: ANoB5plfk++pFV+OYQZ0tsYIH3ivmH/r9tlTljJj9A6QiSGkjJlpzB// vKXywEddqfpNzZpQf3lODzyo+IKy9MQdYrXK X-Received: by 2002:a17:902:e787:b0:187:1d13:f6d1 with SMTP id cp7-20020a170902e78700b001871d13f6d1mr11968057plb.52.1670739461672; Sat, 10 Dec 2022 22:17:41 -0800 (PST) Received: from localhost ([135.180.226.51]) by smtp.gmail.com with ESMTPSA id s3-20020a170902c64300b001869f2120a4sm3821340pls.94.2022.12.10.22.17.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Dec 2022 22:17:41 -0800 (PST) Subject: [PATCH v2 10/24] sparc: Remove COMMAND_LINE_SIZE from uapi Date: Sat, 10 Dec 2022 22:13:44 -0800 Message-Id: <20221211061358.28035-11-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 From: Palmer Dabbelt To: Arnd Bergmann , 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- This leaves an empty , which will soon be cleaned up. --- arch/sparc/include/asm/setup.h | 6 +++++- arch/sparc/include/uapi/asm/setup.h | 7 ------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/arch/sparc/include/asm/setup.h b/arch/sparc/include/asm/setup.h index 72205684e51e..d1384ed92547 100644 --- a/arch/sparc/include/asm/setup.h +++ b/arch/sparc/include/asm/setup.h @@ -7,7 +7,11 @@ #include -#include +#if defined(__sparc__) && defined(__arch64__) +# define COMMAND_LINE_SIZE 2048 +#else +# define COMMAND_LINE_SIZE 256 +#endif extern char reboot_command[]; diff --git a/arch/sparc/include/uapi/asm/setup.h b/arch/sparc/include/uapi/asm/setup.h index 3c208a4dd464..c3cf1b0d30b3 100644 --- a/arch/sparc/include/uapi/asm/setup.h +++ b/arch/sparc/include/uapi/asm/setup.h @@ -6,11 +6,4 @@ #ifndef _UAPI_SPARC_SETUP_H #define _UAPI_SPARC_SETUP_H -#if defined(__sparc__) && defined(__arch64__) -# define COMMAND_LINE_SIZE 2048 -#else -# define COMMAND_LINE_SIZE 256 -#endif - - #endif /* _UAPI_SPARC_SETUP_H */ -- 2.38.1