Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1631076lqm; Fri, 3 May 2024 01:13:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWHPpwfklrn3sq1kE0DAbQVXZRShSN0LMQ16aFZe5KcX1XsGUas7j5HnQkiqZhOeJUweYFN/VRRl1TIW1JlulQ2LD0KGz1EHTJRCxgC+g== X-Google-Smtp-Source: AGHT+IG2wovFg94xQ34BLmTOq6eZJYVFXE7/GKmt/xC4PH/rOimVcKdJuKp83CaaXsyxZ1PVRuPp X-Received: by 2002:a17:902:bc46:b0:1e0:dc6e:45d6 with SMTP id t6-20020a170902bc4600b001e0dc6e45d6mr1785780plz.60.1714724036727; Fri, 03 May 2024 01:13:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714724036; cv=pass; d=google.com; s=arc-20160816; b=hy+0yU8FzmMdrFMcaC+KMWQLcp4g4nkGqWsQNPOn8o1/K1PONFCX6AWzsdntai1c9r w8JhLfiWgatbshKeN3GmfUEcE+njqb+6Kogmdyc6ibQLH/h7z1Rnw+w+8sfUEFXrlesg FqkAgtVZssd0yGnvdDBZdN4OF2yKlZMAlmVN2sueL0z5Zkj+T4pK3bkJtPIPRTcoixKz c0mxid/dUFyM4SjxwYqqDWj6m57g1t6t8lcMCF8t5lzWk5KUlUaN9fM3BYYQTYuytZys U21NHY0oOBBJsntz68B/d6LY+n5JmYodrjFKCAV/3bOaeAlyKwuJJqVN/YwRFjK2ptEr Tr0g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=jEJggCSOiFA3cOEB0EB2ZYUGJ+tGYbKIflT8I1LjEc4=; fh=KsdebulFSTDgUgDP2OamvZF2uEg8nzoUdEjFl7UPhdc=; b=K15ovRozwPc8+wwhEcf+dXyfku3fWAyRPOSuXgQzuooABeP8Y7AfSEJpe1Xce37jLW aD9hjvJGDc/Bik/Xp6k3VjZ8p30pTT/PhcJQ4ghnbx0qVJz6YHrVrPRaSYGbmcIB0wG9 D5tuD+KQns/5tBdj5sTAFi8RIdNUyfaBqllzPjDscQJszqmnQ6H+sQl1KU51kCngVFEt me11HjOYop4YRRozVgqP9RuFohhbnSdOerKqiSYBNo6bWmGOBpXv3b2rdf/KjFN6MVwa bZHTwH6SxY44evNax5BnnIOVboAbr5qk8xHZqwm3lUPO9s0nApJZ+YxY/2nuRHP9oA6x ulVg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rX1xH3Ju; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-167357-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167357-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c8-20020a170903234800b001eb2e59aad9si554592plh.88.2024.05.03.01.13.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 01:13:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167357-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rX1xH3Ju; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-167357-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167357-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 426AF281AA5 for ; Fri, 3 May 2024 08:13:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 15D8114F11A; Fri, 3 May 2024 08:12:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rX1xH3Ju" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3BB3114F105; Fri, 3 May 2024 08:12:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714723940; cv=none; b=GKIYtbI+F3zLukDZkphX+aV7iGY4oRzlc963vD/A4oowRS/TvbAOJYEjKcsDgRd2Y4DpAKpCc7s15LsNub/vUmOE0mjd6GIKxa2Ox9MrKD8zXTz1KXaPaUjdV0Us1vypxFr9weVJZAyQ6l9uqukXULCZplF/vgwnWxSkRPkUIU0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714723940; c=relaxed/simple; bh=Q/UCgzGVcdSeACQEWB36d445wgW1pjP0qCwPeE9977A=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=GjdPXq07i+Fua1F2tLx2gQBlKgMvujThUJoeK4eRXofrCRN54Rgpe8ow3O0LqYrwKumy4wF+RKeVezRbzXMFi/KjoFDS2uqwjqllAEv3eHtu6nSrvOP7RuWoFpJfFusp4gFWiapzHmiDpmjux/zQqjeO1gaZt9yP4kkM3WWequU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rX1xH3Ju; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CB7CC4AF48; Fri, 3 May 2024 08:12:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714723939; bh=Q/UCgzGVcdSeACQEWB36d445wgW1pjP0qCwPeE9977A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rX1xH3JupufnsR76VqhH88rxav9yplIZx623VrJHY6a1OOTB/+pOISec/GVF+fXg2 29VTxePPGYbvbsSS0AM8i5XfOxyBeVNWeGNiKKCXntZ+Xk71dmOb9kDvMxQXvSv+Vg ST4AbfyAt633wTAE3smzzhmc1xQd+GjbDVkJVSn0mtHtYmeWUhZlT8pmZGjj+6F7T/ kzUPGcpvZXt9Zudg1TVPjdihEGfM7TaMT22Xe4VkdZqjXzeNDCaqEnK8rLEO0c++ap 9q107tFo4DoMhfOU40qkDldn6hZErEX/Py1x8/0GMoSRK7wyCzI/X2hunNeFBskdgR IJI3fjgm9kq1g== From: Arnd Bergmann To: linux-alpha@vger.kernel.org Cc: Arnd Bergmann , Richard Henderson , Ivan Kokshaysky , Matt Turner , Alexander Viro , Marc Zyngier , Linus Torvalds , "Paul E. McKenney" , linux-kernel@vger.kernel.org Subject: [PATCH 05/14] alpha: sys_sio: fix misspelled ifdefs Date: Fri, 3 May 2024 10:11:16 +0200 Message-Id: <20240503081125.67990-6-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240503081125.67990-1-arnd@kernel.org> References: <20240503081125.67990-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Al Viro definitions of avanti_mv and noname_mv (and associated ALIAS_MV) are conditional upon the wrong thing - it should be CONFIG_ALPHA_{AVANTI,NONAME}_CH, not CONFIG_ALPHA_{AVANTI,NONAME}. The former is a system type; the latter is for the bits shared by AVANTI with XL and NONAME with ALPHA_BOOK1 resp. We want all those machine vectors defined (but not aliased - see ALIAS_MV() definition for details) for GENERIC build; for system-specfic builds we want only one mv, so avanti_mv should *not* be there for XL; it certainly should not be have alpha_mv aliased to it on such config - xl_mv will be there and alpha_mv can't be aliased to both of those. The same goes for Noname vs. Alphabook1. Signed-off-by: Al Viro Signed-off-by: Arnd Bergmann --- arch/alpha/kernel/sys_sio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/alpha/kernel/sys_sio.c b/arch/alpha/kernel/sys_sio.c index 0bf38f868665..c28a6ae1d989 100644 --- a/arch/alpha/kernel/sys_sio.c +++ b/arch/alpha/kernel/sys_sio.c @@ -360,7 +360,7 @@ struct alpha_machine_vector alphabook1_mv __initmv = { ALIAS_MV(alphabook1) #endif -#if defined(CONFIG_ALPHA_GENERIC) || defined(CONFIG_ALPHA_AVANTI) +#if defined(CONFIG_ALPHA_GENERIC) || defined(CONFIG_ALPHA_AVANTI_CH) struct alpha_machine_vector avanti_mv __initmv = { .vector_name = "Avanti", DO_EV4_MMU, @@ -389,7 +389,7 @@ struct alpha_machine_vector avanti_mv __initmv = { ALIAS_MV(avanti) #endif -#if defined(CONFIG_ALPHA_GENERIC) || defined(CONFIG_ALPHA_NONAME) +#if defined(CONFIG_ALPHA_GENERIC) || defined(CONFIG_ALPHA_NONAME_CH) struct alpha_machine_vector noname_mv __initmv = { .vector_name = "Noname", DO_EV4_MMU, -- 2.39.2