From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Ghiti Subject: [PATCH v3 01/24] alpha: Remove COMMAND_LINE_SIZE from uapi Date: Tue, 14 Feb 2023 08:49:02 +0100 Message-ID: <20230214074925.228106-2-alexghiti__8434.6237171971$1676361097$gmane$org@rivosinc.com> References: <20230214074925.228106-1-alexghiti@rivosinc.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; 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=UfhnFvdOBMaLaqHchQiBMEzcSlF2Fa7xiydpzk9bce4=; b=C2iakMWMXSP/c9K7z5Xrdh2FZ8isHrwxMldv7DFWh875IFzrwvaewsb7pv+pVa32tl uGCdv0Gz5Sla77Gz5skt6wbYUcHV0MvrDD91ZQ6pbR0FErzvIa+siHbNV83wcBxe5ArP aJt1rzTFYZAlJ16o/6rxYLUe5PNm3Cl+WBlup3rC4VDyDpLzh+6dKa0ocOU49K1pDDRG 2DU7qDQ8it3t/pBnyu9Q2n/Gn2V8da6o1Pd0nCVDpMY7pf+5XFSyefWucX0xtqrzNgZK hOieCgCpkZJ2M+Y8BO8XCPqXTZ1/32v6n2w6GpPqHXYf4CRyUxX7PkOvD2S1cOWpGGyY hVgA== In-Reply-To: <20230214074925.228106-1-alexghiti@rivosinc.com> List-ID: Content-Type: text/plain; charset="us-ascii" To: Jonathan Corbet , Richard Henderson , Ivan Kokshaysky , Matt Turner , Vineet Gupta , Russell King , Catalin Marinas , Will Deacon , Huacai Chen , WANG Xuerui , Geert Uytterhoeven , Michal Simek , Thomas Bogendoerfer , "James E . J . Bottomley" , Helge Deller , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Paul Walmsley Cc: Palmer Dabbelt From: Palmer Dabbelt 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 --- arch/alpha/include/asm/setup.h | 4 ++-- arch/alpha/include/uapi/asm/setup.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/alpha/include/asm/setup.h b/arch/alpha/include/asm/setup.h index 262aab99e391..ea08ca45efa8 100644 --- a/arch/alpha/include/asm/setup.h +++ b/arch/alpha/include/asm/setup.h @@ -2,8 +2,6 @@ #ifndef __ALPHA_SETUP_H #define __ALPHA_SETUP_H -#include - /* * We leave one page for the initial stack page, and one page for * the initial process structure. Also, the console eats 3 MB for @@ -14,6 +12,8 @@ /* Remove when official MILO sources have ELF support: */ #define BOOT_SIZE (16*1024) +#define COMMAND_LINE_SIZE 256 + #ifdef CONFIG_ALPHA_LEGACY_START_ADDRESS #define KERNEL_START_PHYS 0x300000 /* Old bootloaders hardcoded this. */ #else diff --git a/arch/alpha/include/uapi/asm/setup.h b/arch/alpha/include/uapi/asm/setup.h index f881ea5947cb..9b3b5ba39b1d 100644 --- a/arch/alpha/include/uapi/asm/setup.h +++ b/arch/alpha/include/uapi/asm/setup.h @@ -2,6 +2,4 @@ #ifndef _UAPI__ALPHA_SETUP_H #define _UAPI__ALPHA_SETUP_H -#define COMMAND_LINE_SIZE 256 - #endif /* _UAPI__ALPHA_SETUP_H */ -- 2.37.2