Re: [tip: x86/build] x86/vmlinux.lds.S: Remove conditional definition of LOAD_OFFSET
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip: x86/build] x86/vmlinux.lds.S: Remove conditional definition of LOAD_OFFSET
- From: Borislav Petkov <bp@xxxxxxxxx>
- Date: Wed, 13 Mar 2024 14:18:33 +0100
- Cc: linux-tip-commits@xxxxxxxxxxxxxxx, Wei Yang <richard.weiyang@xxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, x86@xxxxxxxxxx
- In-reply-to: <171032639869.398.16886435468084846590.tip-bot2@tip-bot2>
- References: <20240313075839.8321-4-richard.weiyang@gmail.com> <171032639869.398.16886435468084846590.tip-bot2@tip-bot2>
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
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]