From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) (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 51C5918A6BD for ; Mon, 30 Dec 2024 18:38:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735583889; cv=none; b=bKAap62jbHAXcbxtmxOcDw5o6qaRhKTSovAIBvXWCX+qVsuR1ttOsl9R5UFwr+fwPXpGUpdLNQGgyg36IiN80/TzvywrZFFGGPE5YpB8LL+rVRe43sfz+ufHbhW3C0PWkmi7/uxFjUr16uqk11IPv5p3ogU+lWITXUaAkgAqqd0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735583889; c=relaxed/simple; bh=SyKGJbPjremx1Ub2xWXauFRiEsvuHr6Q3SyEv9X/Sng=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lHqvTpi8LgDqHxS1gQNHW9BMM0gW5muslzKNQGcy3T/x05cd6tPZyoSlcdAUEtMMCji/VFqSxPhPaKj6I95FSVuApoWc+eB2Nr4AF0kSdPKrvsU+Zz2+vwGlV5WczO3hGOgZvbZqyHKmCkhom9xvAgUDv4JaU0kQLH+ePQ6JGvQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=exDiLoMp; arc=none smtp.client-ip=209.85.216.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="exDiLoMp" Received: by mail-pj1-f49.google.com with SMTP id 98e67ed59e1d1-2ee86a1a92dso9909269a91.1 for ; Mon, 30 Dec 2024 10:38:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735583887; x=1736188687; 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=eyBRx1rVhxmGSxS0JjfQw+3Zr6zYo/cL2eetycQ4k/8=; b=exDiLoMpVBApythknSXeRrMXRjTUKgQYc85aHFx+D8iDU94NvNVtwo+jVE0TOyUrt3 Q6tjWD4cBew2SaBkcIFaPwNoXbP7LKcb6VS9LIlHKPROZdEw+Hi491ZqTUdjhIvl6RRS 8ypAFuL8GdsFdmPYBL7fIzbL5CWhC4bLPhbKwxNQ7SRZnQIaSjPqzf32QRrp+cO6e10e AMwhKIijB9uCs4lXAzZBQ07BonIBp4e+0Enzqgnusx0ASL/Kj1J5MMxytab5nzvL6sFf EFLYG+6TUn8uenaQblzUMnKK7PLX1EuQrNdEg5vdxd46wewoXXfFbarSg5+0jrWNlk/p rMgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735583887; x=1736188687; 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=eyBRx1rVhxmGSxS0JjfQw+3Zr6zYo/cL2eetycQ4k/8=; b=AM0kpMAgZBnxO1JPYieSllTW5Dx4qmMRNoi37e/Yh4guLWrlMraRYua7BDMeNiz+o5 EvBmLFaN8i7OYinawh3pchbkAqUM8JqmfjlOmrvIEuD6cU/5uEnulZb5QNXa/2uZ1msX 9hIlrIj8GVP7dgBXbclB6EcoUvwIXEbIVBXEdPD1+eZeZSkDCBFiT0nboBI+HkKz+1dR sISkoZWZ0CxcbGYvai/dxZ54HMlhwoZCPRFEwNkIOGV8W0Ukdmztp1NFtk6CpODK+lUp d/yKx8R1Xn3nBUuYQ9uEkLE8X1J1+o4MRRfi85XIOHUlYcqL/J61bXrhkrUKH5fKuHAX wGVw== X-Forwarded-Encrypted: i=1; AJvYcCUqaE6NCnbikbaIP1DSlL+cCD8wepX8ZYzekvsX2znTJ3EZzZHsYbCdgdXzkX1/jTXWSqeIy4kGkgBrsBI=@vger.kernel.org X-Gm-Message-State: AOJu0YzmFVkYwh91EbJgh1sNui0lXrlXlH2M6VMegU5MmDm19H6FwOQT NBC9PNMnWWQFDuYWh63BHxGxzB2yIwUFGyfHxmgkl8NGlrFeC6mD X-Gm-Gg: ASbGncu4fiofvjCI3TiabG83fyCmMnmqV+/typyroZ4XS4OBZ8nCiRopUnY9ehbx2QS U5MgSdfnJ/0trEk7T7VpEzZ1k5X3T8hDxmqDPB4xrA1ZZjNVwnYjlj1lcfS+qVN43ATCVB4H4Ca aki1tPUWXXjZ2GjVhdwF401jl9h8wOPBz3yqG/HeMcAOc5bx8y3bTa0lIP5aOAiUHMQb46do7/S W3YdBtzahDXyZo29lrGZpzWgqs1hynfQOWc8kKJW+4lP/j5ZcMuhZgN X-Google-Smtp-Source: AGHT+IHw32zC2Fks/57/gNeTdU0b/cRmvHuNkVE1w+EFlWnfV/YvLxUpx65l2FegunX77o186HTfOA== X-Received: by 2002:a17:90b:2d50:b0:2ee:db8a:29f0 with SMTP id 98e67ed59e1d1-2f452ec6caamr52248053a91.27.1735583887563; Mon, 30 Dec 2024 10:38:07 -0800 (PST) Received: from localhost ([216.228.125.129]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f2ee26b125sm25460626a91.43.2024.12.30.10.38.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Dec 2024 10:38:07 -0800 (PST) Date: Mon, 30 Dec 2024 10:38:05 -0800 From: Yury Norov To: linux@treblig.org Cc: linux@rasmusvillemoes.dk, tglx@linutronix.de, peterz@infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] cpu: Remove unused init_cpu_online Message-ID: References: <20241220165739.201412-1-linux@treblig.org> 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: <20241220165739.201412-1-linux@treblig.org> On Fri, Dec 20, 2024 at 04:57:39PM +0000, linux@treblig.org wrote: > From: "Dr. David Alan Gilbert" > > The last use of init_cpu_online() was removed by the > commit cf8e8658100d ("arch: Remove Itanium (IA-64) architecture") > > Remove it. > > Signed-off-by: Dr. David Alan Gilbert Dear Dr. Gilbert, Applied in bitmap-for-next. With best regards, Dr. Yury V Norov > --- > include/linux/cpumask.h | 1 - > kernel/cpu.c | 5 ----- > 2 files changed, 6 deletions(-) > > diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h > index 9278a50d514f..590d8438514c 100644 > --- a/include/linux/cpumask.h > +++ b/include/linux/cpumask.h > @@ -1043,7 +1043,6 @@ extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS); > /* Wrappers for arch boot code to manipulate normally-constant masks */ > void init_cpu_present(const struct cpumask *src); > void init_cpu_possible(const struct cpumask *src); > -void init_cpu_online(const struct cpumask *src); > > #define assign_cpu(cpu, mask, val) \ > assign_bit(cpumask_check(cpu), cpumask_bits(mask), (val)) > diff --git a/kernel/cpu.c b/kernel/cpu.c > index b605334f8ee6..2ac860df1ff0 100644 > --- a/kernel/cpu.c > +++ b/kernel/cpu.c > @@ -3128,11 +3128,6 @@ void init_cpu_possible(const struct cpumask *src) > cpumask_copy(&__cpu_possible_mask, src); > } > > -void init_cpu_online(const struct cpumask *src) > -{ > - cpumask_copy(&__cpu_online_mask, src); > -} > - > void set_cpu_online(unsigned int cpu, bool online) > { > /* > -- > 2.47.1