From nobody Tue Nov 26 20:25:03 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; 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=none dis=none) header.from=linux.intel.com ARC-Seal: i=1; a=rsa-sha256; t=1705311434; cv=none; d=zohomail.com; s=zohoarc; b=OAXkdDtnkJpyOP/TAz8ybplVMEbmh4cP3L37GjI+hdgHNakzT2bsGFe7Iw6hUb2/FGXz1jDWhfaHxkfXtgPBBYRpan18lMp3VwYh+CNKlglw3cp9j8kZSXX5RNTYyAy5t382NdhbRYw/+qYTNakugWruMV3oYTEdYmtzJFGJeJ0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705311434; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=LJsCjBk8arYIvEtLmyWW67aOoa4/m9qS0ZfNDWmukEg=; b=WF1RlNoeDuya5PSSMUVvekknLxg71GkJR73kZdeTDbKVevfoZTLQXuzdS6ERjE4Zm/Yl0FMKVXyJTeWTIGuwoiVnFnnITXHb9o3yGKYQTUObBV8SbEEnqFtTdU+fR0qfqCiHKFd0ZX7yZdguM9ORIGjF++vGXY1X9ZtG5fbB5Ik= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; 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=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1705311434985350.78184919485636; Mon, 15 Jan 2024 01:37:14 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPJOM-00030G-Bn; Mon, 15 Jan 2024 04:36:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPJOK-0002yd-Nb for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:24 -0500 Received: from mgamail.intel.com ([192.55.52.120]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPJOJ-00083y-7Y for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:24 -0500 Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 01:36:22 -0800 Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.36]) by fmsmga006.fm.intel.com with ESMTP; 15 Jan 2024 01:36:20 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705311383; x=1736847383; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Ae3UEVtEQon0zcDRm0hrrOZyUSj7p14La3m7kAvib84=; b=fRKfdd2e2fWshXxtMzQIrog21OrVqiGGkwfKb5pK2CzgOPUpjMGJyaoF nFc2luRkEXTLLRxdsYv2UittKYVkcAOSdikzYu8mtdcTsKhEplAsT0yyi kdzAJVdJ3bSuuzmU06lTEUVhGy0WsMDv8Eba1JqfKwUtD5GrRwqjmxY2B H5eZ+0PCy5ASagLDYIXRVJJXLoB7uko94npnCsnutnMPzXvSxdW1768OY MBPCrxeiNjDouRvh2EEago2+f6C810lXEEFUbQJCO9RQxW6VlN+ENdzrN yGhs0jAPQQ122J/YQd+chm999HMjffd738aHzxycLOSK0z6swSezJkhkS Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="398439827" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="398439827" X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="1030594178" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="1030594178" From: Zhao Liu To: Eduardo Habkost , Marcel Apfelbaum , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yanan Wang Cc: qemu-devel@nongnu.org, Zhao Liu Subject: [PATCH 10/11] hw/core: Cleanup unused included headers in numa.c Date: Mon, 15 Jan 2024 17:48:51 +0800 Message-Id: <20240115094852.3597165-11-zhao1.liu@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> References: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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: none client-ip=192.55.52.120; envelope-from=zhao1.liu@linux.intel.com; helo=mgamail.intel.com X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.758, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 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-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1705311436905100002 Content-Type: text/plain; charset="utf-8" From: Zhao Liu Remove unused header in numa.c: * sysemu/hostmem.h * exec/cpu-common.h * exec/ramlist.h * qemu/bitmap.h * hw/core/cpu.h * hw/mem/pc-dimm.h * migration/vmstate.h Though sysemu/numa.h has been included by sysemu/hostmem.h which is included by hw/boards.h, to keep the dependency clear, still directly include sysemu/numa.h in this file. Tested by "./configure" and then "make". Signed-off-by: Zhao Liu --- hw/core/numa.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/hw/core/numa.c b/hw/core/numa.c index f08956ddb0ff..ab3f2858ac51 100644 --- a/hw/core/numa.c +++ b/hw/core/numa.c @@ -23,20 +23,14 @@ */ =20 #include "qemu/osdep.h" + #include "qemu/units.h" -#include "sysemu/hostmem.h" #include "sysemu/numa.h" -#include "exec/cpu-common.h" -#include "exec/ramlist.h" -#include "qemu/bitmap.h" #include "qemu/error-report.h" #include "qapi/error.h" #include "qapi/opts-visitor.h" #include "qapi/qapi-visit-machine.h" #include "sysemu/qtest.h" -#include "hw/core/cpu.h" -#include "hw/mem/pc-dimm.h" -#include "migration/vmstate.h" #include "hw/boards.h" #include "hw/mem/memory-device.h" #include "qemu/option.h" --=20 2.34.1