[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z0VQlg++mRUtmFvz@intel.com>
Date: Tue, 26 Nov 2024 12:37:42 +0800
From: Zhao Liu <zhao1.liu@...el.com>
To: Dave Hansen <dave.hansen@...ux.intel.com>
Cc: linux-kernel@...r.kernel.org, x86@...nel.org, tglx@...utronix.de,
bp@...en8.de, rafael@...nel.org, lenb@...nel.org,
dave.jiang@...el.com, irenic.rajneesh@...il.com,
david.e.box@...el.com
Subject: Re: [PATCH 08/11] x86/tsc: Remove CPUID "frequency" leaf magic
numbers.
On Wed, Nov 20, 2024 at 11:53:38AM -0800, Dave Hansen wrote:
> Date: Wed, 20 Nov 2024 11:53:38 -0800
> From: Dave Hansen <dave.hansen@...ux.intel.com>
> Subject: [PATCH 08/11] x86/tsc: Remove CPUID "frequency" leaf magic numbers.
>
>
> From: Dave Hansen <dave.hansen@...ux.intel.com>
>
> All the code that reads the CPUID frequency information leaf hard-codes
> a magic number. Give it a symbolic name and use it.
>
> Signed-off-by: Dave Hansen <dave.hansen@...ux.intel.com>
> ---
>
> b/arch/x86/include/asm/cpuid.h | 1 +
> b/arch/x86/kernel/tsc.c | 12 ++++++------
> 2 files changed, 7 insertions(+), 6 deletions(-)
Reviewed-by: Zhao Liu <zhao1.liu@...el.com>
Powered by blists - more mailing lists