From patchwork Tue Apr 1 07:20:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 877443 Delivered-To: patch@linaro.org Received: by 2002:a5d:6dae:0:b0:38f:210b:807b with SMTP id u14csp2117022wrs; Tue, 1 Apr 2025 00:22:00 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWZ/siR0WYR2jBiG6mHLwOKDYw0MoMirYJHv1yJaxzYUE9w1Xn/bMzF6qsddqHGR85HJ0KLJQ==@linaro.org X-Google-Smtp-Source: AGHT+IH2QEDjl0eFMyJk0j68NnDc+8WZxw8SCaxXuJzcUGSMZwnrS08/ERMWDLe+3obyM8x9I+Jj X-Received: by 2002:ac8:7d4f:0:b0:477:41f1:285d with SMTP id d75a77b69052e-477ed7286famr166963151cf.19.1743492120320; Tue, 01 Apr 2025 00:22:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1743492120; cv=none; d=google.com; s=arc-20240605; b=irsj2DZ/IbVfLTdcLcFevGgo92UwXMFkXN4JvwSw1rLWQm8a0Dbnatz/RTInIUCiSp kbQA0VN5KPfR4jTvD0sMgNib9Osuta147ST+vn35PtKPc24HylCCybsZnEythEgxXhB7 qKDFOuxpnowmadZw/aEi8UctmnmC+hrJ0Ne3GIZHcumBN/awE2tgbkahVKdXUroShs61 iYHR8rFKqmjs3Am9n0joWyIsjo6LxHiC2FnyRS5D+/NHM1rjw6t/ZiN9rwVTooFpIibU kmCu3V0FfqyDttnwRtCeqBp9W15nqTiYw9wBahmk0skQtKgKD710fvHDAUnFH4eMrDNs lsxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=59x6vNvLsKAT/IxMI6FzfkqIiXL3jLpaLHobfpnQ9uI=; fh=BCLN+t2ZqfLIJQawKoImfSYKBLl07s8FDPr8BfggRIo=; b=KMwZJ0hK4FlTm20xsWnfqFZmlcggIhexmCh5OEd5tbfwm4UwuXRMX3m2D0Njxk5QH/ 9dj0yLvsRAI7xQqv/KKa8Ibs8Dfn8stY4wY/yQxz9qIIRe0dNwCvj5AwSeCnrrI83K2e MBL70uR6qf94ne2fNOM7vxpCMsRroRUWrBpg2H12k5FZrJ/VXCAWEdUTBFbMeY77Jf06 Yi7AsLo5ZLc4oLq08Qny1c5g+nMcT4ry34ZQPck19CSJHaei2SBE+Ml1uwXHC5oghZjN NkeS09WDJqLTuUbNiYmBiJgt2onkfX1VxT1uWwhLcjPaLOkwaHdlUGjOgBviIJYUlbcn WgVg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VLUOSGG5; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7c5f778e223si827472785a.397.2025.04.01.00.22.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 Apr 2025 00:22:00 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VLUOSGG5; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tzVvj-0005I2-8C; Tue, 01 Apr 2025 03:21:03 -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 1tzVvf-0005Ha-Iw for qemu-devel@nongnu.org; Tue, 01 Apr 2025 03:20:59 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tzVvd-000056-Pm for qemu-devel@nongnu.org; Tue, 01 Apr 2025 03:20:59 -0400 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-39c266c1389so87275f8f.1 for ; Tue, 01 Apr 2025 00:20:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743492054; x=1744096854; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=59x6vNvLsKAT/IxMI6FzfkqIiXL3jLpaLHobfpnQ9uI=; b=VLUOSGG53chC6MkPfcFSiu+MiGAI69LP9o65fKXxISCbSSjcNiCFdioHsdejiUbTNZ TFcjR81K9jD56/NjZK2E/OTNtlJaBHJdvWcl5J9/aVQq3RAzC3cG0/hGBMX+1sU9ygfS 60O9abMM15r3JZmcmFJYi4Onj/lfPUXrbPU8PgRy5Qnt22G2IOveLdHUHu/ubMZfMcSI gxS+WaKvbT+PKC4h56GXxFzZg+duF4QMz4MIynbMd1tftMkX94GptXpRYq5jttvp2DHb THtBx0lghY07gII9jch+j3spXArcDF+ryPhrY3KCziH9L9tsq6Kq2SSMkRbd22MZ22AT WsIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743492054; x=1744096854; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=59x6vNvLsKAT/IxMI6FzfkqIiXL3jLpaLHobfpnQ9uI=; b=lR3NYXfneo1kMbSh7J0L+pC812+ruWkfULvSqOn6Q8SnDbBEYo2DB4z9nLws08h6oi LEvMc6Mbu092+LvQ2FffqDLbM6LrBpnNl5XALpvbZSfppK0/Ms9iUtDnir2uyz8pifLf gdzVLWfQhbbBlmpGkUIotY1GvK2d5BhYtEFAjHDpnKu2fCWh5SvE8dsu0cl3327aNn6D WViiodtqqKTpnRLcnGRzhJqvkOAyURMjmayAnJPXIZgTX82oge2XoM+HwGAlt/S39qZt x8Azi7Q6stFz7AleC33JNYOnUhSK4q7q3q7ArHDdejnbeFL50gIo9M1E5/UU8veUEDBN VtAQ== X-Gm-Message-State: AOJu0YxaPZydcfTutOrGBsF7QfBA2SPzIayVAX7/h8FEzxrquLPFIBP4 Z0lNRmBtuKC7OqfzZOKM6oZ1v7AZv0+Idtp9Pnt25/3e3QWvUfQB8lEIkG97p1XV1lBbBELeuOi 1 X-Gm-Gg: ASbGnctQSOmeL60LCK0A5Qjo8U9FWT8x6gyGwNPioR5/1HhRTXCz8ZQbXZ36y3zqwxa q0v06u8fkHYrh29wlBJzOcsZgZe6v1ouPOX8CXuaFMs847ce8fyp34dJmLE0GtN76RyXEyKGtPg gsmFfdBGpR0TVxveLVs8qwH5uqKjWMaUqneJXTRVwo4RxGq1kRZpdFFLAH0cGT4NbNaXkOFOUVT /I29Lv9ayLQDMYpgqSYJbTJlHXP4m8ENLc0KyY1Sd9Qmp9jrMvktYTX+MXcnWVTnBvwbLFp74OZ uFE2bH2RMzhzIAg+m0GmT1orPmJNqz8ohgF+NTnZX4SbmW5owGe4gV3nW35huVCGEq85jkZfdIs 4KztYJhGTF1bFAcICX1p7mCAdKAh/Tw== X-Received: by 2002:a05:6000:18a6:b0:391:2db0:2961 with SMTP id ffacd0b85a97d-39c12115cf6mr9816977f8f.38.1743492054325; Tue, 01 Apr 2025 00:20:54 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39c0b66b015sm13744209f8f.54.2025.04.01.00.20.53 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 01 Apr 2025 00:20:53 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Yoshinori Sato , =?utf-8?q?Philippe_Mathieu-?= =?utf-8?q?Daud=C3=A9?= Subject: [PATCH] target/rx: Fix copy/paste typo (riscv -> rx) Date: Tue, 1 Apr 2025 09:20:52 +0200 Message-ID: <20250401072052.25892-1-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=philmd@linaro.org; helo=mail-wr1-x431.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=ham 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Rename riscv_cpu_mmu_index() -> rx_cpu_mmu_index(). Fixes: ef5cc166da1 ("target/rx: Populate CPUClass.mmu_index") Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- target/rx/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/rx/cpu.c b/target/rx/cpu.c index 65e26e7a6b6..723262f4b54 100644 --- a/target/rx/cpu.c +++ b/target/rx/cpu.c @@ -67,7 +67,7 @@ static bool rx_cpu_has_work(CPUState *cs) (CPU_INTERRUPT_HARD | CPU_INTERRUPT_FIR); } -static int riscv_cpu_mmu_index(CPUState *cs, bool ifunc) +static int rx_cpu_mmu_index(CPUState *cs, bool ifunc) { return 0; } @@ -228,7 +228,7 @@ static void rx_cpu_class_init(ObjectClass *klass, void *data) &rcc->parent_phases); cc->class_by_name = rx_cpu_class_by_name; - cc->mmu_index = riscv_cpu_mmu_index; + cc->mmu_index = rx_cpu_mmu_index; cc->dump_state = rx_cpu_dump_state; cc->set_pc = rx_cpu_set_pc; cc->get_pc = rx_cpu_get_pc;