Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nG0Xt-00044W-FC for mharc-qemu-trivial@gnu.org; Fri, 04 Feb 2022 10:30:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nG0Xm-00042M-6u for qemu-trivial@nongnu.org; Fri, 04 Feb 2022 10:30:43 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:27697) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nG0Xj-0004ai-8a for qemu-trivial@nongnu.org; Fri, 04 Feb 2022 10:30:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643988634; 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=KTy/hSpZbkTIpeWzwzWkZoW2kDVps/w53bosvIq6Hr0=; b=DS4p6RZpThgSbhH+KjcOUU7uV46kF3GPw3xKiCVLUzeSI30fWr24OurXRWYizdhbT2jGlm Q4iaWds4EMvbnCkQNkjQJRfG/awofUE7kn9HDcr8zl28qMH5zALcBUAGkn+nfPeHdwqG1G 85BJO2+QN+1l7IQ1cWLaEEnYAj2FJuk= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-29-W3fRpDE4M8GOM5Fauv5JdA-1; Fri, 04 Feb 2022 10:30:33 -0500 X-MC-Unique: W3fRpDE4M8GOM5Fauv5JdA-1 Received: by mail-wm1-f70.google.com with SMTP id l16-20020a7bcf10000000b0034ffdd81e7aso2531972wmg.4 for ; Fri, 04 Feb 2022 07:30:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=KTy/hSpZbkTIpeWzwzWkZoW2kDVps/w53bosvIq6Hr0=; b=FkbDr4cqmDniaXDu/4qjz6X4pOALta2YWo0CvIznSxTnzOTz4qakA9oAsR5TtLE8u8 gUMY7jIhbncTilnvZUwVSuvcVcnYbzwO2o32aShp7o44T/QGEcH5d/wQ7KnGO3IXKjkr K9GLZ0aTD5bQR6UiIfeQqOgtucapc0fC6T85Ze/k7ng9mThjIEwlpa5w1QY2fsxLzHT7 aDTCq0eT/kqzYolN85aYhqXyl1sSeh5GiRJzkaKObZhoJWTzS94XA3rHDYrdXccHvKSp 4PpmEvg2Snlwaea1Cr+7iAeT6j8PIHlFeH4L+oGxtz/s+AbXZmEAgqIfgwLYZo8ps+i1 DLqg== X-Gm-Message-State: AOAM530bf/fzt119DaYTMoTDfte79JCzo6VLrd6JaF7C28btUU9vUnoV Rtb9Iou9XNKodRhKDYW+b+Z97TYzMffyMb460YNHeMCE2qVnlVqE/a0QGGGXdRp6vyfgI66Oq6r nOIU0GJGfD2cKLUrhnA== X-Received: by 2002:a1c:f309:: with SMTP id q9mr2651749wmq.173.1643988632718; Fri, 04 Feb 2022 07:30:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJywki0LqvcKvgdN2SJ/tbfCo57QF8Z09zomZ2BbTRUc5IJCLITk2JD01mZITTxcVr3/YJ4xcQ== X-Received: by 2002:a1c:f309:: with SMTP id q9mr2651731wmq.173.1643988632484; Fri, 04 Feb 2022 07:30:32 -0800 (PST) Received: from [192.168.8.100] (tmo-096-196.customers.d1-online.com. [80.187.96.196]) by smtp.gmail.com with ESMTPSA id j9sm2232168wro.8.2022.02.04.07.30.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Feb 2022 07:30:31 -0800 (PST) Message-ID: <020b5a0f-8856-cc79-16d2-ad21771eec65@redhat.com> Date: Fri, 4 Feb 2022 16:30:30 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 09/10] linux-user: Add missing "qemu/timer.h" include To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , Laurent Vivier , QEMU Trivial References: <20220203193803.45671-1-f4bug@amsat.org> <20220203193803.45671-10-f4bug@amsat.org> From: Thomas Huth In-Reply-To: <20220203193803.45671-10-f4bug@amsat.org> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=170.10.129.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.092, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2022 15:30:44 -0000 On 03/02/2022 20.38, Philippe Mathieu-Daudé wrote: > "qemu/timer.h" declares cpu_get_host_ticks(). > > Signed-off-by: Philippe Mathieu-Daudé > --- > linux-user/i386/cpu_loop.c | 1 + > linux-user/ppc/cpu_loop.c | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/linux-user/i386/cpu_loop.c b/linux-user/i386/cpu_loop.c > index 29dfd7cd0c..90bffc1956 100644 > --- a/linux-user/i386/cpu_loop.c > +++ b/linux-user/i386/cpu_loop.c > @@ -20,6 +20,7 @@ > #include "qemu/osdep.h" > #include "qemu-common.h" > #include "qemu.h" > +#include "qemu/timer.h" > #include "user-internals.h" > #include "cpu_loop-common.h" > #include "signal-common.h" > diff --git a/linux-user/ppc/cpu_loop.c b/linux-user/ppc/cpu_loop.c > index 46e6ffd6d3..ffe39851ed 100644 > --- a/linux-user/ppc/cpu_loop.c > +++ b/linux-user/ppc/cpu_loop.c > @@ -20,6 +20,7 @@ > #include "qemu/osdep.h" > #include "qemu-common.h" > #include "qemu.h" > +#include "qemu/timer.h" > #include "user-internals.h" > #include "cpu_loop-common.h" > #include "signal-common.h" Reviewed-by: Thomas Huth