From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5E1444400 for ; Tue, 28 Jan 2025 01:01:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738026082; cv=none; b=KqB6OPeTtPMszxvn1+f860Efc79iM69ztcPkntkBddBk+BDOlbyf6E9ZPZ8yw6t84TBs/ytIVu4clMPgu0uAqaOdlxgT5lcMLmrqi22nTY9yx5CeVwiEZqRQfCGFbRatjJhwcDFmPHL/8mb9oRTt5gEhhaXJN70Rsek8Dh2J4rM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738026082; c=relaxed/simple; bh=sPQoclgJ/s9L4PWOn07cc36AT4Cl+4AjZgrLheegg8I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Hz65OrQOn/VOqKMcRM7TTiUhHlygKC0N60ugkZPwDOhrd6NucHhfZ8I6Q0ByQthdW9i+NGR5M09wKm/68GisTKt8O799JPn01/8eTTGpKdXzFOLIjMuL/F+UKw+IjTw/l4qU0rnkokh8rq1HdmqU6Y7dAISJutom4pqEl3B959o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com; spf=pass smtp.mailfrom=rivosinc.com; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b=YyjeltXA; arc=none smtp.client-ip=209.85.214.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rivosinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b="YyjeltXA" Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-216426b0865so83999015ad.0 for ; Mon, 27 Jan 2025 17:01:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1738026079; x=1738630879; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=AdvXF/06rw3JWajKJVdjaObpAq/QOTiiqtQg8F4NUu4=; b=YyjeltXAPbvOYY2Om9sfj+jwwdTzYqTVFdHAr2jFz+XRX9nm0xDGbXcOlKf5gwi2aS JXuCocUKoSUOtrqXLso2y7P3zc7U490E+SAapFw3Pgom5TIulng6Ogut3xBbTdusXYqO 7QTs3HrLwMio2Ffa5MRD4c9rv2yhuFFT5Y9OyOqMhJ3oBlAd5HvGbUr90tBWN5qddouP 6YDFhxkVqBZnSwcYAVzn0uvZ2c41LHlWhAZGoYtNOuCfHkoJHEulmY3EhKBXqMk0NGc8 OKAly+usWywI/oPnqydyFFjO38EgPi/iXixWbdZlZZvy9G9eDnF6HYb7j4qjHgQk+isL BJyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738026079; x=1738630879; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AdvXF/06rw3JWajKJVdjaObpAq/QOTiiqtQg8F4NUu4=; b=iV83Nl46xQdbuVF0gV68rxDpGnSKGOdKCyUh0F4c9Kbatiu8UgbupDr/qpoZXBsQyg BwqCSdatkNJrfYPEiHtDwinUGfkDO0XbvDFk7qa3MHuFKx34FgsduK3lz4kkbZmvf06/ 4XJ8hIli+OsaxRKDlPgBcU50RFlMrbRM6Cmd3p1VvLYSxbtHMTufPVH+y/PRhlVWCatg WaR9DIowrw728F7BjCntQggbs7xSbBYKLu6qg8CSFuifyUYOagctQOqVFdDxQ7JbCpu0 Bt5/k6FhGTw6eJhajmEFTWG/OFFvfHdvLz76q6baqjwNw3L8zS3BVG0L0xYSmwvoEuBe WU0Q== X-Forwarded-Encrypted: i=1; AJvYcCWZIGY66XIyTm4wMfLhU6gdJT8ty6lkqCAtrpeCkPIT8UvTfR1qpgJaHHv9ay2cBgZQFWpYJKquDUPkL6A=@vger.kernel.org X-Gm-Message-State: AOJu0YxEBw1UtF6PjxJ/7lvg8smX3J13yqdMg7nms0H24jzckvbJtR9l PxMgZTb03nTw+zOwdeS9pE0eAKQheInSGxZ+yQ/CpITDwGQsroSdlbteDoc/4kY= X-Gm-Gg: ASbGncvBczbBgOTQmcCJC/sPWWIBufi1Y90/ALWuav4XWb8twahdNVrNBhzVI+0OF6l d22G0XhJwRE9KFjnBrhsD4VDqxi4qRByXdePZBpK87SB9OopkrjhVjxqf5m1/sFOTQIGcvMohJ3 FKKu04OE7L9Vct1pkB+M3yHclCaI9hdlVRADVXIJdn8rRp7f0ntXMiUdlZFnF0tGZQVa97mEgq6 +A62rDFVey94QfyF/iQoLGRobu2V9glzovhCO8eCan40lv2oazqHr8q5rUoHf4FTVtBdOo= X-Google-Smtp-Source: AGHT+IFVBFMzrPOfRNaXKJOAOYsihakJV6+gPXdJMfZPhkNAiNfA3ERRtj7JvV6+qKvCboufH+rwGQ== X-Received: by 2002:a17:902:e802:b0:215:827e:3a6 with SMTP id d9443c01a7336-21c355ba38amr728789655ad.40.1738026079567; Mon, 27 Jan 2025 17:01:19 -0800 (PST) Received: from ghost ([50.145.13.30]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21da414142asm70229695ad.148.2025.01.27.17.01.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 17:01:18 -0800 (PST) Date: Mon, 27 Jan 2025 17:01:16 -0800 From: Charlie Jenkins To: Jinjie Ruan Cc: paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, alexghiti@rivosinc.com, puranjay@kernel.org, zhangchunyan@iscas.ac.cn, cuiyunhui@bytedance.com, guoren@kernel.org, bjorn@rivosinc.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] riscv: Remove unused TASK_TI_FLAGS Message-ID: References: <20241109014605.2801492-1-ruanjinjie@huawei.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241109014605.2801492-1-ruanjinjie@huawei.com> On Sat, Nov 09, 2024 at 09:46:05AM +0800, Jinjie Ruan wrote: > Since commit f0bddf50586d ("riscv: entry: Convert to generic > entry"), TASK_TI_FLAGS is not used any more, so remove it. > > Fixes: f0bddf50586d ("riscv: entry: Convert to generic entry") > Signed-off-by: Jinjie Ruan Reviewed-by: Charlie Jenkins > --- > arch/riscv/kernel/asm-offsets.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/riscv/kernel/asm-offsets.c b/arch/riscv/kernel/asm-offsets.c > index c2f3129a8e5c..d3ad87fcf1ef 100644 > --- a/arch/riscv/kernel/asm-offsets.c > +++ b/arch/riscv/kernel/asm-offsets.c > @@ -36,7 +36,6 @@ void asm_offsets(void) > OFFSET(TASK_THREAD_S11, task_struct, thread.s[11]); > > OFFSET(TASK_TI_CPU, task_struct, thread_info.cpu); > - OFFSET(TASK_TI_FLAGS, task_struct, thread_info.flags); > OFFSET(TASK_TI_PREEMPT_COUNT, task_struct, thread_info.preempt_count); > OFFSET(TASK_TI_KERNEL_SP, task_struct, thread_info.kernel_sp); > OFFSET(TASK_TI_USER_SP, task_struct, thread_info.user_sp); > -- > 2.34.1 > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv