Revert "xen: use correct end address of kernel for conflict checking"

This reverts commit 5e2ec8dda3.
This commit is contained in:
Ksawlii 2024-11-24 00:23:24 +01:00
parent 846de9e641
commit 5fcfbc6d9d

View file

@ -856,7 +856,7 @@ char * __init xen_memory_setup(void)
* to relocating (and even reusing) pages with kernel text or data.
*/
if (xen_is_e820_reserved(__pa_symbol(_text),
__pa_symbol(_end) - __pa_symbol(_text))) {
__pa_symbol(__bss_stop) - __pa_symbol(_text))) {
xen_raw_console_write("Xen hypervisor allocated kernel memory conflicts with E820 map\n");
BUG();
}