Re: [PATCH 4/5] x86/kernel: Move page table macros to new header
From: Borislav Petkov
Date: Thu May 23 2024 - 10:07:45 EST
On Thu, May 23, 2024 at 03:59:43PM +0200, Thomas Gleixner wrote:
> On Wed, Apr 10 2024 at 15:48, Jason Andryuk wrote:
> > ---
> > arch/x86/kernel/head_64.S | 22 ++--------------------
> > arch/x86/kernel/pgtable_64_helpers.h | 28 ++++++++++++++++++++++++++++
>
> That's the wrong place as you want to include it from arch/x86/platform.
>
> arch/x86/include/asm/....
.. and there already is a header waiting:
arch/x86/include/asm/pgtable_64.h
so no need for a new one.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette