| Date | Sat, 19 May 2018 10:45:35 +0200 (CEST) | From | Thomas Gleixner <> | 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@linux.intel.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
|