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: 634852 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1464702pvb; Sat, 17 Dec 2022 09:30:10 -0800 (PST) X-Google-Smtp-Source: AMrXdXuHGLjs3veLRDA/MGv9ZL+orqhETuQ2xCHPms8i/RwgspOoAUTcXAarJ6QDe9085p87x4v4 X-Received: by 2002:ac8:4e08:0:b0:3a8:dae:d985 with SMTP id c8-20020ac84e08000000b003a80daed985mr4464928qtw.14.1671298210817; Sat, 17 Dec 2022 09:30:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671298210; cv=none; d=google.com; s=arc-20160816; b=LP8aDfgoT1zRyq0fYS5cJSK1/nzyHTqZiHSGuiPpO3tPKk1jHYZM7ih5BnraqVqj0p LoW6BoICTqgT0Gppw4H35RbuJwi6/ioZKvxHCMi1HqHszkeEJjfzeoCBf2WteQE+Oqjq wU6XYsPHepw6YV7efPlJ0ZEKL5N8fQiIO6D1IeAS59ECIyvTteyhvXmB+d5y/dlvCPO4 b8qw6ZbjUkZzAW2Lbl7rg35hHWjRALywKzuFqq1viMxt/w+gQxfVqFEx3oa0XOicDsfu e7MvhkFgRUsyAtoYVEosvsz9iTg3VF4Vc7KENc+/BAeFmbk0nkNlalECf4/3JWYnc7Gy 7PUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=GdJpVnm+gFNOeX+qvDUbYIefgKH38zq9W4n0ljJdfLo=; b=fDEFhommtd2CMbEF5Kw5/3+YmM0u4OfS7wMPycSNFAX8Yi/vnj6wc9eLl9SUmli+vw cAk8ShDgUbaE+n4LKS7U/v1RCPJuzG6rhuO3Lh+VC8mKOHNtATUbKMzYHFcHLzPLKYd+ Mf+U3K1uuBXWEQnRt/5nolhgDNXfrJdDBVhf/fSAZXZr8YJ9EmqJNpvtsflfw9IruySI xaAtXYoFuwF369J2At+Z3iG9rJ/uJSiZom0PFt4CsNGbVI12pVIxC4yR/cWmT1aK7PK3 Te4HnNz5TIvVW43eq1f/piDaPgd7mliE5anZ/nxUsEtco4hfmIfIcU0bjuo1n5R8kdJU UOtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fXMKAdas; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id v16-20020ac85790000000b003a7e92f2280si2738089qta.535.2022.12.17.09.30.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 17 Dec 2022 09:30:10 -0800 (PST) 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=fXMKAdas; 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 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-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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.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