Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1018342ybv; Thu, 13 Feb 2020 14:07:08 -0800 (PST) X-Google-Smtp-Source: APXvYqzhIHHQVdMjeEkxMNbflTM4dUpkO2BakaGiMV7DC4SEFHUaVcmQrBqpTUWoUJNxbfBu8syA X-Received: by 2002:a9d:6c8d:: with SMTP id c13mr15065158otr.277.1581631628554; Thu, 13 Feb 2020 14:07:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581631628; cv=none; d=google.com; s=arc-20160816; b=WaTEsE6kCDmW09BotajNXMFViOS7rzNzRzW7tBPzb0JyA67SBgx9xmsRViYsST05V6 64aQEyi083Yljp2src4BnbHO6cgG5twg6OfzLDGKmrZ8sX5ku50lJCYLZI4l6zIrjaN3 jNuleP9B+iZ/C0wi2MfUVV9AMOui0MKph3wgbKBgZ1PPWalrdWLLNIavMjzxPpLHjO2E taF8rIipY/K6S1QQ0wbo576q6Y+7X9QIxpN8jIqg0jqBoZo3u/49Un0cbp8qCYZX+nOd hr1LB0sRcV901/3/bYkcqonYgBc336WkHYQ9BiRqTfkqRqMc5tSf00jh/yffKmf4cxDW akGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=1u/ie1aT+DSvAMjNWE2q5Aac6fXvMXYnKMgCF/VUOR8=; b=qnEScczmTAFGudQZOxqXepqADP/Qyttw0KuAZTk2vgBktTOczRWqbo3JOhITXF6Aep mMXUSayrVufW5dSggctG1tyFFpxN5K2hLVAqBxiyzHZMomQRoBxp+o6uOffXTpmWWEIs 1tqtfSWpJkeX+NOpEB1F/mMRvILdkrvyIa8xwyeAcamtc3ofdw7R9s2Qrmn50pahlpml 6kTRDcuuC7PURRKJkjBR8UyabfIn1V8lU91MDXTunkyJDjXTL3OBJj+5chuyGahdpMsJ hlnC2pPV81HjElHQIm2r/nWjNcsdfeAMMChmPFHZ2k8PRbfT5pEwJCG3aZqC/3DaHUoD 8HxA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s11si1799484oic.57.2020.02.13.14.06.56; Thu, 13 Feb 2020 14:07:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728144AbgBMWFE (ORCPT + 99 others); Thu, 13 Feb 2020 17:05:04 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:60834 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728051AbgBMWFD (ORCPT ); Thu, 13 Feb 2020 17:05:03 -0500 Received: from 79.184.254.199.ipv4.supernova.orange.pl (79.184.254.199) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.341) id fc8c1af34e20b89f; Thu, 13 Feb 2020 23:05:01 +0100 From: "Rafael J. Wysocki" To: Linux PM Cc: Len Brown , LKML , Zhang Rui , "Rafael J. Wysocki" , Chen Yu Subject: [PATCH 8/9] intel_idle: Define CPUIDLE_FLAG_TLB_FLUSHED as BIT(16) Date: Thu, 13 Feb 2020 23:03:51 +0100 Message-ID: <15991455.PHIGOLi8R1@kreacher> In-Reply-To: <2960689.qre192dJKD@kreacher> References: <2960689.qre192dJKD@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Rafael J. Wysocki" Use the BIT() macro for defining CPUIDLE_FLAG_TLB_FLUSHED instead of the hex bit encoding of the same value. No intentional functional impact. Signed-off-by: Rafael J. Wysocki --- drivers/idle/intel_idle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c index 9575615c8f4a..de1367d996c5 100644 --- a/drivers/idle/intel_idle.c +++ b/drivers/idle/intel_idle.c @@ -101,7 +101,7 @@ static unsigned int mwait_substates __initdata; * If this flag is set, SW flushes the TLB, so even if the * HW doesn't do the flushing, this flag is safe to use. */ -#define CPUIDLE_FLAG_TLB_FLUSHED 0x10000 +#define CPUIDLE_FLAG_TLB_FLUSHED BIT(16) /* * MWAIT takes an 8-bit "hint" in EAX "suggesting" -- 2.16.4