From nobody Sun May 19 15:05:10 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=kalray.eu ARC-Seal: i=1; a=rsa-sha256; t=1628714188; cv=none; d=zohomail.com; s=zohoarc; b=JlYUBxu7wO/niu3q04hhlmt96zz9Z4oVRgbZ89fdgZkMJhs5+GsO2CyI9B5uAgHNzn46dGUe8UxdfKyUpvpQifFt7OS0w3rtGvJ+hKvS9Bha4hJh99PDzK5pURmqy65juibglBLo/NSTt1Gp/AKD/ZmhX5kmFsAYuihLUZeBCNg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1628714188; h=Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:Sender:Subject:To; bh=oACWa9YHXQ8Ts/YPz7whKVIVY6zi1KAtwPkc47a9mgQ=; b=kM3dv7E3gjQlPCVidRiZMp8zCiI8P8ra1JPF9tunohijk02zUCw0QYTfN+ie7l/bf+GtX9Vc/WmJpFvguMsJXv90BQ/YqJ7jBCQv6tpob2jIZZ9g6WPEKwAAZtXOz164YEQOF1KgCVtGrjuVR1OzjA2IW37lGge7769Ko3Trt8E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 162871418804580.6827429273809; Wed, 11 Aug 2021 13:36:28 -0700 (PDT) Received: from localhost ([::1]:57568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDuxe-0001Si-5K for importer@patchew.org; Wed, 11 Aug 2021 16:36:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDoyM-0005N0-Hj for qemu-devel@nongnu.org; Wed, 11 Aug 2021 10:12:46 -0400 Received: from mxout.security-mail.net ([85.31.212.42]:28863 helo=fx302.security-mail.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDoyJ-0001IK-Ts for qemu-devel@nongnu.org; Wed, 11 Aug 2021 10:12:45 -0400 Received: from localhost (localhost [127.0.0.1]) by fx302.security-mail.net (Postfix) with ESMTP id C729F3D3B00F for ; Wed, 11 Aug 2021 16:12:39 +0200 (CEST) Received: from fx302 (localhost [127.0.0.1]) by fx302.security-mail.net (Postfix) with ESMTP id 634E33D3B06B; Wed, 11 Aug 2021 16:12:39 +0200 (CEST) Received: from zimbra2.kalray.eu (unknown [217.181.231.53]) by fx302.security-mail.net (Postfix) with ESMTPS id 14FDB3D3B013; Wed, 11 Aug 2021 16:12:39 +0200 (CEST) Received: from zimbra2.kalray.eu (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTPS id F020327E02A8; Wed, 11 Aug 2021 16:12:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra2.kalray.eu (Postfix) with ESMTP id DA14627E02A3; Wed, 11 Aug 2021 16:12:38 +0200 (CEST) Received: from zimbra2.kalray.eu ([127.0.0.1]) by localhost (zimbra2.kalray.eu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id fCMczIuZsNla; Wed, 11 Aug 2021 16:12:38 +0200 (CEST) Received: from nemesis.lin.mbt.kalray.eu (unknown [192.168.37.229]) by zimbra2.kalray.eu (Postfix) with ESMTPSA id C9FAE27E0232; Wed, 11 Aug 2021 16:12:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kalray.eu; s=sec-sig-email; t=1628691159; bh=tOYaN2UbiEaoRiVkc8X/qDCOP/fo9Bm4P9G2MZwi1hE=; h=From:To:Cc:Subject:Date; b=PiyDpJFV5k0fyhMetg52bc3kvVWnXG7Q/ITsWxCes2dNuHlw/Xe5EEJt3ao371PCC w9kfecJ1n3AwNEDI88RIXNTNK5O7ThTOQ30CDe4Ck5WiY4rYOp+m5Z3K6KBx+s+63Z aCG1aLWRpSMt/vdjot3qJdJu8pUN6qpZWTqNKrsc= X-Virus-Scanned: E-securemail Secumail-id: <55b4.6113dad7.143d1.0> DKIM-Filter: OpenDKIM Filter v2.10.3 zimbra2.kalray.eu DA14627E02A3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kalray.eu; s=32AE1B44-9502-11E5-BA35-3734643DEF29; t=1628691158; bh=oACWa9YHXQ8Ts/YPz7whKVIVY6zi1KAtwPkc47a9mgQ=; h=From:To:Date:Message-Id; b=KQNGXW7fmE1NhL5N/oVPY+AlO7SFTUFnYkm08olwDI/HWWyJbc5MnQgYTVGoGfybr kOkLwVYIsmmCaCpMb4OolhbVaXNioZRwD6cCUvE6KctZQvAsBM3qZQMbvGFPuIaEZq wv+y7D+1DY1E1Ugzty9Re6rHSfF9rhA2QrXur2ys= From: Luc Michel To: qemu-devel@nongnu.org Cc: Luc Michel , qemu-trivial@nongnu.org, Richard Henderson , Paolo Bonzini Subject: [PATCH] accel/tcg: remove redundant TCG_KICK_PERIOD define Date: Wed, 11 Aug 2021 16:12:29 +0200 Message-Id: <20210811141229.12470-1-lmichel@kalray.eu> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: by Secumail Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=85.31.212.42; envelope-from=lmichel@kalray.eu; helo=fx302.security-mail.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 11 Aug 2021 16:34:37 -0400 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: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @kalray.eu) X-ZM-MESSAGEID: 1628714190671100001 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" The TCG_KICK_PERIOD macro is already defined in tcg-accel-ops-rr.h. Remove it from tcg-accel-ops-rr.c. Signed-off-by: Luc Michel Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- accel/tcg/tcg-accel-ops-rr.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/accel/tcg/tcg-accel-ops-rr.c b/accel/tcg/tcg-accel-ops-rr.c index c02c061ecb..a5fd26190e 100644 --- a/accel/tcg/tcg-accel-ops-rr.c +++ b/accel/tcg/tcg-accel-ops-rr.c @@ -58,12 +58,10 @@ void rr_kick_vcpu_thread(CPUState *unused) */ =20 static QEMUTimer *rr_kick_vcpu_timer; static CPUState *rr_current_cpu; =20 -#define TCG_KICK_PERIOD (NANOSECONDS_PER_SECOND / 10) - static inline int64_t rr_next_kick_time(void) { return qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) + TCG_KICK_PERIOD; } =20 --=20 2.17.1