Pārlūkot izejas kodu

Made the KEXEC kernel relocatable

This fixes the problem of memtest (and memwipe previously) hanging
the kernel in a busy loop when the KEXEC kernel is loaded at a "bad"
address (e.g., after a big file has been created in Unionfs).
Maxim Kammerer 14 gadi atpakaļ
vecāks
revīzija
b88a75bfdc
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. 3 2
      src/root/config/linux-2.6.39-hardened-kexec.config

+ 3 - 2
src/root/config/linux-2.6.39-hardened-kexec.config

@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux/i386 2.6.39-hardened-r8 Kernel Configuration
-# Thu Oct 13 18:03:08 2011
+# Sat Oct 15 14:11:48 2011
 #
 # CONFIG_64BIT is not set
 CONFIG_X86_32=y
@@ -346,7 +346,8 @@ CONFIG_HZ=100
 # CONFIG_KEXEC is not set
 # CONFIG_CRASH_DUMP is not set
 CONFIG_PHYSICAL_START=0x1000000
-# CONFIG_RELOCATABLE is not set
+CONFIG_RELOCATABLE=y
+CONFIG_X86_NEED_RELOCS=y
 CONFIG_PHYSICAL_ALIGN=0x400000
 # CONFIG_COMPAT_VDSO is not set
 # CONFIG_CMDLINE_BOOL is not set