From nobody Tue Nov 26 20:35:09 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=1705390548; cv=none; d=zohomail.com; s=zohoarc; b=RG7cT3MFQ8vaXcC/vPjI0HmQff5+S3uLEe0kVidhJqf11msxQHcyT+Naj5DYaE06SndJaP/ciWcKk2VThmoF2o8lFIQMPmOvXjP5G0aR1F4JlA94XP0XDCIr2ePLBsM7BaH60yklhQhyu4S+v/X2NAWkgP8px5/fa5HAi6NRBAc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705390548; 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=3JmFY2375cvjGxnwN/1m0Fg63kky2jc4RvjLoK6aa+I=; b=I9Q9/RLUYU2nbAQ/Tu6c6c3cUW1j/T4AtUuQSGoNLdRV2jewQ4OL76mHnFD7L4jKSnOLDbaAoY+Bot07gFFPtoKTM7VQUNO1ogluiyVJ7eh0gz0yjgUA6eETedsfTD7U0Uv8yd+nv3NkJizoOocrj2sSS5A3fO6pfaS/BsaiRYo= 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 1705390548239992.119779682833; Mon, 15 Jan 2024 23:35:48 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPdxh-0000Bb-Sx; Tue, 16 Jan 2024 02:34:17 -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 1rPdxX-0008W5-0Y for qemu-devel@nongnu.org; Tue, 16 Jan 2024 02:34:08 -0500 Received: from mgamail.intel.com ([198.175.65.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPdxU-00046E-Ug for qemu-devel@nongnu.org; Tue, 16 Jan 2024 02:34:06 -0500 Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 23:34:00 -0800 Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.36]) by fmsmga004.fm.intel.com with ESMTP; 15 Jan 2024 23:33:58 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705390445; x=1736926445; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SiSuhcM+8Mn/QlR83zQgTFeaF4doZ0+AzNhvTDapYBc=; b=SCPsIbHagjmMBBSeStGo8XRf/ysgt0TxboJOZnh6/BBf1m71j1OYYgNF PssquIromVDaF9RwNEWCtCOtKDmL6SiF84+Baze5XBwhPTtjjkb1WOz9l 0r5RboTcDeZ2eeu2rF2aa7nnyyczgj42Vnll9BCW8I3zDq3H9moUvZphX BO9b+bJKSWnb3JwpqYpLVTk8Tn1b05k2WKy3LotpZC1U3wyzAjNR0GU26 akbV5aIvskLG2HBhCskHHJBmP/V66zadpouDk/zO8wfGMxm700eMPXNzB N5u/f+blzJjD8GOxTOZ9x3RyAvsE+hRKQJO9K9bsIrPq3OiPByVX4sBDt A==; X-IronPort-AV: E=McAfee;i="6600,9927,10954"; a="6875730" X-IronPort-AV: E=Sophos;i="6.04,198,1695711600"; d="scan'208";a="6875730" X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10954"; a="854266406" X-IronPort-AV: E=Sophos;i="6.04,198,1695711600"; d="scan'208";a="854266406" From: Zhao Liu To: Eduardo Habkost , Marcel Apfelbaum , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yanan Wang , Peter Maydell Cc: qemu-devel@nongnu.org, Zhao Liu Subject: [PATCH v2 3/9] hw/core: Reorder included headers in cpu-common.c Date: Tue, 16 Jan 2024 15:46:41 +0800 Message-Id: <20240116074647.3644821-4-zhao1.liu@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240116074647.3644821-1-zhao1.liu@linux.intel.com> References: <20240116074647.3644821-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=198.175.65.13; envelope-from=zhao1.liu@linux.intel.com; helo=mgamail.intel.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.531, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, 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: 1705390550275100003 Content-Type: text/plain; charset="utf-8" From: Zhao Liu Reorder the header files (except qemu/osdep.h) in alphabetical order. Tested by "./configure" and then "make". Signed-off-by: Zhao Liu --- hw/core/cpu-common.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/hw/core/cpu-common.c b/hw/core/cpu-common.c index a27f0e4cf216..23fc58462ffd 100644 --- a/hw/core/cpu-common.c +++ b/hw/core/cpu-common.c @@ -19,17 +19,18 @@ */ =20 #include "qemu/osdep.h" -#include "qapi/error.h" + +#include "exec/log.h" +#include "hw/boards.h" #include "hw/core/cpu.h" -#include "sysemu/hw_accel.h" +#include "hw/qdev-properties.h" +#include "qapi/error.h" #include "qemu/log.h" #include "qemu/main-loop.h" -#include "exec/log.h" +#include "qemu/plugin.h" +#include "sysemu/hw_accel.h" #include "sysemu/tcg.h" -#include "hw/boards.h" -#include "hw/qdev-properties.h" #include "trace.h" -#include "qemu/plugin.h" =20 CPUState *cpu_by_arch_id(int64_t id) { --=20 2.34.1