From nobody Thu Nov 20 04:54:06 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1697820036; cv=none; d=zohomail.com; s=zohoarc; b=nWD6uonhiKicIp4Y2nsfYUbD6aMCHtpZ9UdrioJwbqFYnJnj97VfUNVWIu59TMi7snNGg4D1dBijUuTioT/VdmR6PZ4VLl32O5UKXTxyGSDORsreAvZP8zdE69dG9b2JhJ/BFPNNsYx1n00GyDcwQITnZVdFi2bGHVWu75x9Aos= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1697820036; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=XJgrMi/wBqEbOvB4DV5saOShbSMfpSRqXMWSTunBKJo=; b=kkJfEuwUVlpfd7+DewCO/GTOmMnhKW9ox5zrZiHbIacATnBtZeJKlEBFrWbxqB863ytpLPLSk+T1etQ6tCQ9/Xl4o7Yd0RH5qLXp1z5j0m5SqpgtdeacKpGL+F/ZAz6w/JkoRw3RixnMT58SuLXklxARu0DX2JdULFsgxrorp6k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1697820036593126.86379887989165; Fri, 20 Oct 2023 09:40:36 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtsWI-0005TX-NC; Fri, 20 Oct 2023 12:38:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtsWA-0005Fq-Je for qemu-devel@nongnu.org; Fri, 20 Oct 2023 12:38:35 -0400 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtsW8-0002gx-1w for qemu-devel@nongnu.org; Fri, 20 Oct 2023 12:38:33 -0400 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-53e04b17132so1560334a12.0 for ; Fri, 20 Oct 2023 09:38:31 -0700 (PDT) Received: from m1x-phil.lan (tbo33-h01-176-171-212-97.dsl.sta.abo.bbox.fr. [176.171.212.97]) by smtp.gmail.com with ESMTPSA id s19-20020a170906bc5300b009b957d5237asm1805635ejv.80.2023.10.20.09.38.24 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 20 Oct 2023 09:38:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697819908; x=1698424708; darn=nongnu.org; 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=XJgrMi/wBqEbOvB4DV5saOShbSMfpSRqXMWSTunBKJo=; b=j/iqubrldvfGNHyR1EiLGFfkWpATzt021m/DEmJANJ+fI7aiCnPQP7LCNB8CymPpeH l5VnhwMfeuKvjOzZDY2AOLeyK96lNpXe7wi4ntLiPh8HDDhsA2rXo5/t4LdobeRMTyG7 TKLITtqWBjjH01e+f873bbThtYBMshMFIfKMP9etBKBaYDrn0h+YhBSrEu6lNUFQFhKM iTN6CehHKhaJJSDcxQzXccUtHdrxb5XulFf2EXx3Wmv4MSd9AhcP0EAwhEKF9Z3HZB9T U7pZIbzIOpbzW+1VDSvsr6wuVjavR3LLyg+TJMbZ4f6nsHiSsf+/b/FhHYTgdmlrqcZZ aTBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697819908; x=1698424708; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XJgrMi/wBqEbOvB4DV5saOShbSMfpSRqXMWSTunBKJo=; b=VHwiFKL1kNs7obHNXJbQcvietVGGy5vVECKds6iJZay0E3Fb0jgz2TNvH95LIVxXVl +r7YXTaoJs6oGs/3UWTtSWsdyaQlbuWvdE1fCRqbJZ4Ki7VgcbHpzul3vjnWTiVyqU1V mi8IbwmUSKRu5wM/xVwY0JopXrHtrNyg05sEvdz/+7ZxKvS38OBm5xQ+9NMcy0cmjcZ+ eq3GTEwGYzuM2n/CRi/Me0KPu1+OCRRVfwAUyt7Tm3LI+PUFl6LijVUtU5/wRN4AFkVm 5sUpGEPuwYeXUGu9KeepH8+5LgnftY8pBBDWfFZedy9FfEi6Oej9FfwZu2n41uJqtCWu q1ew== X-Gm-Message-State: AOJu0YwoTpUTlZ6rFclYiwLijo4UY+LKpOAugxA4GfA+kfpR09nejFWG pR89VETCDrmpp1vjNOttVoeB+X/Cf9OrGv5183o= X-Google-Smtp-Source: AGHT+IH7+ZNyajLwkQ3t7c25QQCi97yzQLzCUBWOzenMRYSotv/xdOmSa0eQLzVkCMAjxOV447k7wA== X-Received: by 2002:a17:906:c14c:b0:9c3:e158:316a with SMTP id dp12-20020a170906c14c00b009c3e158316amr1782665ejc.68.1697819907900; Fri, 20 Oct 2023 09:38:27 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , Richard Henderson , Paolo Bonzini , Alistair Francis , qemu-arm@nongnu.org, qemu-riscv@nongnu.org, "Edgar E. Iglesias" , qemu-ppc@nongnu.org, Eduardo Habkost , "Michael S. Tsirkin" , qemu-s390x@nongnu.org, Peter Maydell , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Zhao Liu , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Laurent Vivier Subject: [PATCH 13/19] cpus: Replace first_cpu by qemu_get_cpu(0, TYPE_M68K_CPU) Date: Fri, 20 Oct 2023 18:36:35 +0200 Message-ID: <20231020163643.86105-14-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231020163643.86105-1-philmd@linaro.org> References: <20231020163643.86105-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::52b; envelope-from=philmd@linaro.org; helo=mail-ed1-x52b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1697820036954100002 Mechanical change using the following coccinelle script: @@ @@ - first_cpu + qemu_get_cpu(0, TYPE_M68K_CPU) Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/intc/m68k_irqc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/intc/m68k_irqc.c b/hw/intc/m68k_irqc.c index 0c515e4ecb..071937e6eb 100644 --- a/hw/intc/m68k_irqc.c +++ b/hw/intc/m68k_irqc.c @@ -35,7 +35,7 @@ static void m68k_irqc_print_info(InterruptStatsProvider *= obj, Monitor *mon) static void m68k_set_irq(void *opaque, int irq, int level) { M68KIRQCState *s =3D opaque; - M68kCPU *cpu =3D M68K_CPU(first_cpu); + M68kCPU *cpu =3D M68K_CPU(qemu_get_cpu(0, TYPE_M68K_CPU)); int i; =20 if (level) { --=20 2.41.0