From nobody Sun Apr 28 15:59:33 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1599568482; cv=none; d=zohomail.com; s=zohoarc; b=FEgGg3DvI2/x/Cdw2z7vlXI4mfC2WhnrCGghTMvh+sDyJw5D4hkodLclbms09zTrrHNLtIfMuib3Z0jqlM3Cdp2uTCxDynR4HbEbMRmmvbo7IuDFpgJE/bUSS9WqF0rR+CiF0h8FH6p0PUdhLObXfo/IQM3YbTU96w4V3c4Octo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599568482; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=H8Bt+SoGCwHI5v8vuo9aRmtnYuy2KkNT4W5PKJJ+pEo=; b=F1w32/T0csEdEgizUNWgvo6+mY2L70t65EI7ItNOr42Kkbga+1R7QntyDQlXVNd9ckKmizVqruHxYKHT3vs6jWntwE9rn2+Tz2NRCw4Ny+P5AxjuOd2+hLKiDbwxklP6uDh8q6xVOvpePbK2YfEl4I7AEzkTUPpCPGLltuZ3GCQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1599568482824916.5611910286353; Tue, 8 Sep 2020 05:34:42 -0700 (PDT) Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-452-alVLOj26MqqubTkZSvBB_A-1; Tue, 08 Sep 2020 08:34:38 -0400 Received: by mail-wm1-f71.google.com with SMTP id u5so4427958wme.3 for ; Tue, 08 Sep 2020 05:34:37 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (65.red-83-57-170.dynamicip.rima-tde.net. [83.57.170.65]) by smtp.gmail.com with ESMTPSA id b11sm33839733wrt.38.2020.09.08.05.34.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 05:34:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599568481; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=H8Bt+SoGCwHI5v8vuo9aRmtnYuy2KkNT4W5PKJJ+pEo=; b=atOHYzLllEq+DfUH8lT7V87QZWvh6OEaGiulLHC19ECGihg+LCU9hlHYdZQOetNL0LEjmw 3zQTq9IpKx6IjzbZcWZhO7HsBy63K/P1nbFmJ+H1DoJK/V27jpDEx5yQGBIO1sb8TTwl2G 4ytXUyz101kieENZC4ZZD+QF69MIcB8= X-MC-Unique: alVLOj26MqqubTkZSvBB_A-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=H8Bt+SoGCwHI5v8vuo9aRmtnYuy2KkNT4W5PKJJ+pEo=; b=DNixVli7/bPwItKBtQmEgbAC0Q16mHw2O4jXRUlhBBQl3cS84ysR8YfBp6k+ERYexQ 7cI8wfIBSRB0JkP0YXqd9onRq/9/g0cow3ZKSsn7+W+xUg7uzXVUyd9wkDmW15y5utyf XkVI1iCRl3gIdEnsSVTaJyH/Imv5GsyhHQiuiCNfNSxYNUmXjkLlwiYm632R98UDEfYj dvu0U3lSp8JQ/qehX5944iBDVuRwH9KBKzeXwhmYWYEKZB1TmKm9ICu8BMIn1ZGrXNY7 PC1FCxTRGuSrooNl5ASqg1nyDh26YFZMutBsClg9RPQ/yTugEu0RBVyzv0GpsgJNhtcp pKow== X-Gm-Message-State: AOAM532mKkshdIGTGGUGaOL5hleJAIWGM0h23fR/n/A9h04G8QAJc9zO wlxwb2Ib1y6w+Y6s5GAWlFP1dzeeCy0d9ZlKNV6Xdm/1lgumtBOofKSnPlHudERRC+k9qMi8Gm6 I51DlQUuYxDLhJg== X-Received: by 2002:adf:a48d:: with SMTP id g13mr26245397wrb.212.1599568476877; Tue, 08 Sep 2020 05:34:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHVDS7APNGfQg6onMvH5pOdGKb31yvi/vagMB+owAQf86vw4YlC+7eWYF0aReRutuR2PMNqA== X-Received: by 2002:adf:a48d:: with SMTP id g13mr26245379wrb.212.1599568476678; Tue, 08 Sep 2020 05:34:36 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , qemu-trivial@nongnu.org, Marcel Apfelbaum , Richard Henderson , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH] hw/core/cpu: Add missing 'exec/cpu-common.h' include Date: Tue, 8 Sep 2020 14:34:33 +0200 Message-Id: <20200908123433.105706-1-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0.002 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8"; text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) cpu_common_reset() uses tcg_flush_softmmu_tlb() which is declared in "exec/cpu-common.h". Add the missing header to avoid when refactoring other headers: hw/core/cpu.c: In function =E2=80=98cpu_common_reset=E2=80=99: hw/core/cpu.c:273:9: error: implicit declaration of function =E2=80=98tcg= _flush_softmmu_tlb=E2=80=99 [-Werror=3Dimplicit-function-declaration] 273 | tcg_flush_softmmu_tlb(cpu); | ^~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/core/cpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/core/cpu.c b/hw/core/cpu.c index 22bc3f974a2..63ece3662d6 100644 --- a/hw/core/cpu.c +++ b/hw/core/cpu.c @@ -26,6 +26,7 @@ #include "qemu/log.h" #include "qemu/main-loop.h" #include "exec/log.h" +#include "exec/cpu-common.h" #include "qemu/error-report.h" #include "qemu/qemu-print.h" #include "sysemu/tcg.h" --=20 2.26.2