]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/kernel/vmlinux.lds.S
Merge remote-tracking branch 'rcu/rcu/next'
[karo-tx-linux.git] / arch / x86 / kernel / vmlinux.lds.S
index 74e4bf11f562e0354c227518421e2375ec16fafa..04afe9b7e52a75e111c0d5ee206578ad64675807 100644 (file)
@@ -195,6 +195,17 @@ SECTIONS
        :init
 #endif
 
+       /*
+        * Section for code used exclusively before alternatives are run. All
+        * references to such code must be patched out by alternatives, normally
+        * by using X86_FEATURE_ALWAYS CPU feature bit.
+        *
+        * See static_cpu_has() for an example.
+        */
+       .altinstr_aux : AT(ADDR(.altinstr_aux) - LOAD_OFFSET) {
+               *(.altinstr_aux)
+       }
+
        INIT_DATA_SECTION(16)
 
        .x86_cpu_dev.init : AT(ADDR(.x86_cpu_dev.init) - LOAD_OFFSET) {
@@ -325,6 +336,7 @@ SECTIONS
                __brk_limit = .;
        }
 
+       . = ALIGN(PAGE_SIZE);
        _end = .;
 
         STABS_DEBUG