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: Wei Yang <richard.weiyang@xxxxxxxxx>
- Date: Thu, 14 Mar 2024 00:59:36 +0000
- Cc: linux-kernel@xxxxxxxxxxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx, Wei Yang <richard.weiyang@xxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, x86@xxxxxxxxxx
- In-reply-to: <20240313131833.GBZfGnqTwdhcw6twQd@fat_crate.local>
- References: <20240313075839.8321-4-richard.weiyang@gmail.com> <171032639869.398.16886435468084846590.tip-bot2@tip-bot2> <20240313131833.GBZfGnqTwdhcw6twQd@fat_crate.local>
- Reply-to: Wei Yang <richard.weiyang@xxxxxxxxx>
- User-agent: NeoMutt/20170113 (1.7.2)
On Wed, Mar 13, 2024 at 02:18:33PM +0100, Borislav Petkov wrote:
>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.
You mean remove the definition of LOAD_OFFSET?
I have tried this, but I found this is used in vmlinux.lds.h. So I don't
figure out a way to get rid of it.
>
>--
>Regards/Gruss,
> Boris.
>
>https://people.kernel.org/tglx/notes-about-netiquette
--
Wei Yang
Help you, Help me
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]