From patchwork Fri Feb 28 11:46:42 2020 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: 11412109 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DBB161395 for ; Fri, 28 Feb 2020 11:54:15 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B301B246AC for ; Fri, 28 Feb 2020 11:54:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="P6w2swx1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B301B246AC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:45898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7eDe-00040L-SH for patchwork-qemu-devel@patchwork.kernel.org; Fri, 28 Feb 2020 06:54:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41432) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7e7g-0000Ud-4I for qemu-devel@nongnu.org; Fri, 28 Feb 2020 06:48:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7e7f-0001S4-2f for qemu-devel@nongnu.org; Fri, 28 Feb 2020 06:48:04 -0500 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:20072 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j7e7e-0001RW-Up for qemu-devel@nongnu.org; Fri, 28 Feb 2020 06:48:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582890482; 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: in-reply-to:in-reply-to:references:references; bh=1ZikWdiIjGHwkJ5s5xsyOGuFMUcLn0/m4b9roi2lzt0=; b=P6w2swx1ntky0vhExHpbrQ3FrNowzCFipoqxjdW47cOeEFiV1PDxBCjcx2FuY6EYlilA2V ulByqMJztbA/7/Kj178/PGk7s9hoGNRDqY97VD431vNx0SxSp2iEm7LWuiMjxrfgRpJgYJ TZug8qi+MK5WX4AeluOmylgFPsGxWls= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-277-tBQeJ797M0u4o4U0eLeybw-1; Fri, 28 Feb 2020 06:48:00 -0500 X-MC-Unique: tBQeJ797M0u4o4U0eLeybw-1 Received: by mail-wm1-f72.google.com with SMTP id y18so1545285wmi.1 for ; Fri, 28 Feb 2020 03:48:00 -0800 (PST) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=7/Nc+BormBNRjwYo07kcxhw053jMRgcHlLvuvF2I3Yg=; b=B8wDl7UYifgBRWBB4pmy1r+J68oEgsgLaA/WMTzk4mX5W9ZsIGc2AL6xovn8TPVmPF sNayEnnAXpM4L9IJrJTd7jlNQstKKS6xeRfaNxkDce/2xA1sBmGoYaPL6bpGA0EtK5z5 EbQoTvanFs3CM5TlkRPVdZ7weh9XpVHnUl5SaA5FGbhIbW70daNzCd/5adYWeep8ZO5S QO307tAICbDnqNVPpKRbawYoveKmt29yh4Vhh4oaiO81o7O8IdQQH1BC4PQu12eKLXYp RAOAMaTRUFS0Of/lQn7dEyOGfNIGlOiNDgf10UTqmMMmeUQl4JQOBpwMm3uIenjQd4R6 Ri3A== X-Gm-Message-State: APjAAAURYpkZeYjbc76/2rZFf2BJO3yyDUEVpHEM3a4G4uGAl4mMoR9S HC1eJ/76lC24J4Vdk5eDyzdQJI4wfVO0ypa9bRFM84v2tWi8F7Yalexz7LOCceTmUgXTqdu8h6Z 42yvLAugii3j6RqU= X-Received: by 2002:adf:fc10:: with SMTP id i16mr1242381wrr.331.1582890479512; Fri, 28 Feb 2020 03:47:59 -0800 (PST) X-Google-Smtp-Source: APXvYqwX1PlFUd70akunglxnfTPEuLh7bKZtTlkbg22tnwWQsflCw+cuFlsy7JGHo5YlLqdJeeG/ug== X-Received: by 2002:adf:fc10:: with SMTP id i16mr1242372wrr.331.1582890479343; Fri, 28 Feb 2020 03:47:59 -0800 (PST) Received: from x1w.moovbox.local ([185.102.219.36]) by smtp.gmail.com with ESMTPSA id v8sm11901514wrw.2.2020.02.28.03.47.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Feb 2020 03:47:58 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 11/18] hw/timer/hpet: Include "exec/address-spaces.h" Date: Fri, 28 Feb 2020 12:46:42 +0100 Message-Id: <20200228114649.12818-12-philmd@redhat.com> X-Mailer: git-send-email 2.21.1 In-Reply-To: <20200228114649.12818-1-philmd@redhat.com> References: <20200228114649.12818-1-philmd@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 207.211.31.81 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Paolo Bonzini , John Snow , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , "Michael S. Tsirkin" Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" hw/timer/hpet.c calls address_space_stl_le() declared in "exec/address-spaces.h". Include it. This fixes (when modifying unrelated headers): hw/timer/hpet.c:210:31: error: use of undeclared identifier 'address_space_memory' address_space_stl_le(&address_space_memory, timer->fsb >> 32, ^~~~~~~~~~~~~~~~~~~~ Acked-by: John Snow Signed-off-by: Philippe Mathieu-Daudé --- hw/timer/hpet.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/timer/hpet.c b/hw/timer/hpet.c index 4f30dd50a4..380acfa7c8 100644 --- a/hw/timer/hpet.c +++ b/hw/timer/hpet.c @@ -36,6 +36,7 @@ #include "hw/rtc/mc146818rtc_regs.h" #include "migration/vmstate.h" #include "hw/timer/i8254.h" +#include "exec/address-spaces.h" //#define HPET_DEBUG #ifdef HPET_DEBUG