[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.1805191045250.1599@nanos.tec.linutronix.de>
Date: Sat, 19 May 2018 10:45:35 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
cc: Ingo Molnar <mingo@...hat.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>, Hugh Dickins <hughd@...gle.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/7] x86/mm: Stop pretending pgtable_l5_enabled is a
variable
On Fri, 18 May 2018, Kirill A. Shutemov wrote:
> pgtable_l5_enabled is defined using cpu_feature_enabled() but we refer
> to it as a variable. This is misleading.
>
> Make pgtable_l5_enabled() a function.
>
> We cannot literally define it as a function due to circular dependencies
> between header files. Function-alike macros is close enough.
>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
Reviewed-by: Thomas Gleixner <tglx@...utronix.de>
Powered by blists - more mailing lists