From patchwork Sat Dec 17 17:29:00 2022 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: 1716921 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=fXMKAdas; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NZCfD2h4hz23yr for ; Sun, 18 Dec 2022 04:30:12 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6b0F-00022W-AB; Sat, 17 Dec 2022 12:29:39 -0500 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 1p6b0B-00021Q-H1 for qemu-devel@nongnu.org; Sat, 17 Dec 2022 12:29:35 -0500 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6b09-0002ON-Oh for qemu-devel@nongnu.org; Sat, 17 Dec 2022 12:29:35 -0500 Received: by mail-ej1-x62f.google.com with SMTP id fc4so12854564ejc.12 for ; Sat, 17 Dec 2022 09:29:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=GdJpVnm+gFNOeX+qvDUbYIefgKH38zq9W4n0ljJdfLo=; b=fXMKAdasNRudqC/+wHt0wHLOntPFsm3uaGXpR+hb5haWkI0s1NTuJgtD+gjno9cqOK U5jwk75xoFPZn9s0tPD9Phfjp52CumJG3TNzkT+dqaV/XbNE/Palzd/unmtaejUNzO7F dMbc4XogpIYjZBzkxmFGN0+0NAmn/IeuZD2Y0FKZ5VRIxFwqya4P+v3h/buVEqy2LSdl iji0KyUrDtwEVwHRnOshPTxeHPqUttht3rK3uLMMNk8nETAiw3fzcNvUM04kEx9HMo1X fv9EpFCSP4ULOfRq1UqrGqAP5zmT707TPUQizQKL+EHznCrIw1sFG16HYboyGFAQMWzP 4ONw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=GdJpVnm+gFNOeX+qvDUbYIefgKH38zq9W4n0ljJdfLo=; b=DxfoH1yTLt5ODUs9FqvJxkYsOJWURGzMf3kINE97m5Uy8Fjony+eh5KWCU1X2b2lfc 8sHjePx0zsI8zAyjyJs4aQf/zMxZu3fU3xA0h2RtK13UNRJ6vzOBBuz9QRUsuY5npMs0 Y1JbE7A3bTcXmJEtC+zkLUQ/RHIBwvaYxIDA1XpKjvssBcz3vkHTQcUf6LG9gSLG9gjn zOvLjrMB0BDLo6yGnQgy0KsfRfrI6TWYuxX99oO/wJHr17xGHSHVrD+/dsKHiVo3UEUL yr9cKU25f33nqZUwVaDdgOhGe/w1GDiZ9+t3+3QA/PXczkFDMHKbZmg5sDOZXLSSUFHG 2Wqw== X-Gm-Message-State: ANoB5pnKxWOf8I83WGdRnwfSfOj/qlgodK8p1wi+DSh9Iuu02uRZoa2h kK90h5gLKAo50kOuciygDjdlc0TLitvvUSNOpAM= X-Google-Smtp-Source: AA0mqf5lrqx5SyTOy9VltHp07f5MXVPkuVZFX6LMndnW00UHYwOqtqjNcCDnXOet/VQTL4RhPmS6KQ== X-Received: by 2002:a17:906:2582:b0:78d:f459:716c with SMTP id m2-20020a170906258200b0078df459716cmr44793306ejb.23.1671298172208; Sat, 17 Dec 2022 09:29:32 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id fx9-20020a170906b74900b007c1675d2626sm2210331ejb.96.2022.12.17.09.29.29 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sat, 17 Dec 2022 09:29:31 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Max Filippov , Richard Henderson , Bin Meng , kvm@vger.kernel.org, qemu-ppc@nongnu.org, Greg Kurz , Daniel Henrique Barboza , Bernhard Beschow , qemu-riscv@nongnu.org, Song Gao , Artyom Tarasenko , Paolo Bonzini , Palmer Dabbelt , Mark Cave-Ayland , Laurent Vivier , Alistair Francis , =?utf-8?q?C=C3=A9dric_Le_Goate?= =?utf-8?q?r?= , David Gibson , Xiaojuan Yang , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 2/9] target/loongarch/cpu: Remove unused "sysbus.h" header Date: Sat, 17 Dec 2022 18:29:00 +0100 Message-Id: <20221217172907.8364-3-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221217172907.8364-1-philmd@linaro.org> References: <20221217172907.8364-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62f; envelope-from=philmd@linaro.org; helo=mail-ej1-x62f.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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Bernhard Beschow The cpu is used in both user and system emulation context while sysbus.h is system-only. Remove it since it's not needed anyway. Signed-off-by: Bernhard Beschow Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- target/loongarch/cpu.h | 1 - 1 file changed, 1 deletion(-) diff --git a/target/loongarch/cpu.h b/target/loongarch/cpu.h index e15c633b0b..c8612f5466 100644 --- a/target/loongarch/cpu.h +++ b/target/loongarch/cpu.h @@ -13,7 +13,6 @@ #include "hw/registerfields.h" #include "qemu/timer.h" #include "exec/memory.h" -#include "hw/sysbus.h" #include "cpu-csr.h" #define IOCSRF_TEMP 0