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: 13075879 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11F0DC4332F for ; Sat, 17 Dec 2022 17:29:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229892AbiLQR3g (ORCPT ); Sat, 17 Dec 2022 12:29:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229866AbiLQR3e (ORCPT ); Sat, 17 Dec 2022 12:29:34 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8EFF10B6F for ; Sat, 17 Dec 2022 09:29:32 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id m18so12950222eji.5 for ; Sat, 17 Dec 2022 09:29:32 -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=7rVvsoh5nqEoQRVwYHmQyqGkGEIx0V08lsgo9y8edac2msa1Rq4SutVpePR5cZaKVQ NgQpYfUJCAzJh161Hflit5/bvWtaAi9/hiF6UiPe0YbaEhuPMySL0daNm2VW3Fw61p6S omkRUiCx7IXE++AMVgkC07rMAUQkNN7Vd32Y1rwmxqvEpA/1RwyC7KrQUyK5/oHYE5vR CIHg+pVJcBSqgNxJKdIQkJpmnqSQJGSfA6qq9QmgxsrLsb4UnYyLlAw5NH7Hxpr5+aAW 5XrTTq7xy5BQjI+tg1HcFh7RV8ydD1Y5Zve8OGjcbxMryu91J7DBnks8sZcEFkp7Eeot jimA== X-Gm-Message-State: ANoB5plfg+WrWaz+J6sJg06RTMs9ZJUjjvyVlF4EM2mtWt5IwS6EGqLG bgsabqABLfycpkvpwGhQdkslWA== 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 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.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