From nobody Tue Nov 4 18:44:28 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1530339333198813.4415398143823; Fri, 29 Jun 2018 23:15:33 -0700 (PDT) Received: from localhost ([::1]:45686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZ9AS-0007pk-B4 for importer@patchew.org; Sat, 30 Jun 2018 02:15:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZ95u-0003yM-2X for qemu-devel@nongnu.org; Sat, 30 Jun 2018 02:10:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fZ95s-0001fm-N1 for qemu-devel@nongnu.org; Sat, 30 Jun 2018 02:10:49 -0400 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]:39759) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fZ95s-0001eo-Ef for qemu-devel@nongnu.org; Sat, 30 Jun 2018 02:10:48 -0400 Received: by mail-wr0-x241.google.com with SMTP id b8-v6so10640013wro.6 for ; Fri, 29 Jun 2018 23:10:48 -0700 (PDT) Received: from donizetti.lan ([82.84.124.111]) by smtp.gmail.com with ESMTPSA id 24-v6sm563454wrz.94.2018.06.29.23.10.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Jun 2018 23:10:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fEP1tsduHKAjeevzyItEKMUS4tf76oGcJy6Ga2WV3Vs=; b=dI+5UjTdT0Klj8dLKSjzCIEwlEjDAs1JhCASZul7d2BRPKPGqIFgG5i9RBIct1pJqz g7ONTPie39i9/aG6fE0QDutQcwioI3xNYbp5pw1yL0o8wvDhIW6pngkzPD1pgerFn0KS 2nuYxdZeRab4T7htMIZtARPNeIdTZmXdgNEk5/70sHVIIV2V2NReMh0R58ug4EqhuWgq oADS47ax0kK5qHiMRsAr3Kn1/52J7iBv0L9ZcEeIf/BB54+2rB5s3Se70N1iDQ3DB47G 7Hmencux3iQ46QQh3z1oebpr4m0hLkfZFsaw3imYg0qrYHO7aMPqB8PivuJqm64ktas0 BRWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=fEP1tsduHKAjeevzyItEKMUS4tf76oGcJy6Ga2WV3Vs=; b=qqwlZDs6fGM+qgYSgy5tiQxVZ7PYXfEmre3qimqYnX4EP755tkthfqcsOrX7qScfrn /QTtzWMpSLNCVI7ISa95fPrS51DxnpzEaWAms8q3FmSmqV2K3J5wxVkoTdexug5plb8J m0vRuupvJfwm7pLuQzK85sJbhRp76yYR41x96++r2PywHGqxgGyAiZ69zv6ZF4XHOYVp Hcbt7+2URzqmwt75lmAF8RnpU0l01YFWdMFG1cNhqlemaRMNdp34hbmRbg4Nwly+CuCn Vjizp75bW9pa1IONvlgyFGTFbabX3NWNpiISj/ICehCXnPoGFVPRbJojAlfzf+fDz38z sIyQ== X-Gm-Message-State: APt69E0Di/QAGUzFHQ4msCt8gnbO52GzEiVXgnJXgJUpF5BRXWbWPUVO r0bjZmvbqXWbvWAzO2pKhUX9xS+r X-Google-Smtp-Source: AAOMgpeT2icJA/xjnXn5crmC6i8V/Jm/roNZXWBVoQhUNQoWp++cPXOiI1qOlWY0ZniHWcOkx6dRQQ== X-Received: by 2002:adf:9aeb:: with SMTP id a98-v6mr5848416wrc.110.1530339047307; Fri, 29 Jun 2018 23:10:47 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Sat, 30 Jun 2018 08:09:58 +0200 Message-Id: <20180630061040.6018-6-pbonzini@redhat.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180630061040.6018-1-pbonzini@redhat.com> References: <20180630061040.6018-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::241 Subject: [Qemu-devel] [PULL 05/47] x86/cpu: Use definitions from "qemu/units.h" X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 From: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Eduardo Habkost Message-Id: <20180625124238.25339-4-f4bug@amsat.org> Signed-off-by: Paolo Bonzini --- target/i386/cpu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index d57f310..bdbd446 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -18,6 +18,7 @@ */ =20 #include "qemu/osdep.h" +#include "qemu/units.h" #include "qemu/cutils.h" #include "qemu/bitops.h" =20 @@ -65,9 +66,6 @@ struct CPUID2CacheDescriptorInfo { int associativity; }; =20 -#define KiB 1024 -#define MiB (1024 * 1024) - /* * Known CPUID 2 cache descriptors. * From Intel SDM Volume 2A, CPUID instruction --=20 1.8.3.1