[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240313131833.GBZfGnqTwdhcw6twQd@fat_crate.local>
Date: Wed, 13 Mar 2024 14:18:33 +0100
From: Borislav Petkov <bp@...en8.de>
To: linux-kernel@...r.kernel.org
Cc: linux-tip-commits@...r.kernel.org, Wei Yang <richard.weiyang@...il.com>,
Ingo Molnar <mingo@...nel.org>, x86@...nel.org
Subject: Re: [tip: x86/build] x86/vmlinux.lds.S: Remove conditional
definition of LOAD_OFFSET
On Wed, Mar 13, 2024 at 10:39:58AM -0000, tip-bot2 for Wei Yang wrote:
> -#ifdef CONFIG_X86_32
> -#define LOAD_OFFSET __PAGE_OFFSET
> -#else
> #define LOAD_OFFSET __START_KERNEL_map
> -#endif
And, as a next step, you can get rid of LOAD_OFFSET completely and use
__START_KERNEL_map everywhere.
Even less ifdeffery.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists