]> err.no Git - linux-2.6/blobdiff - arch/i386/kernel/vmlinux.lds.S
[PATCH] vm86: Honor TF bit when emulating an instruction
[linux-2.6] / arch / i386 / kernel / vmlinux.lds.S
index e17ab69c1f0563d9a8a1cfa593e0a4ac1e526abf..761972f8cb6c86dadf1ed297d2ea12a6ae234977 100644 (file)
@@ -14,7 +14,7 @@ ENTRY(phys_startup_32)
 jiffies = jiffies_64;
 SECTIONS
 {
-  . = LOAD_OFFSET + 0x100000;
+  . = __KERNEL_START;
   phys_startup_32 = startup_32 - LOAD_OFFSET;
   /* read-only */
   _text = .;                   /* Text and read-only data */
@@ -57,6 +57,9 @@ SECTIONS
        *(.data.cacheline_aligned)
   }
 
+  /* rarely changed data like cpu maps */
+  . = ALIGN(32);
+  .data.read_mostly : AT(ADDR(.data.read_mostly) - LOAD_OFFSET) { *(.data.read_mostly) }
   _edata = .;                  /* End of data section */
 
   . = ALIGN(THREAD_SIZE);      /* init_task */