x86, apic: Introduce .apicdrivers section to find the list of apic drivers
[linux-2.6-block.git] / arch / x86 / kernel / vmlinux.lds.S
index 624a2016198ef9317992069aaf676da19e5bd6b9..49927a863cc18089d1f1ab156c63e1080af841d7 100644 (file)
@@ -305,6 +305,13 @@ SECTIONS
                __iommu_table_end = .;
        }
 
+       . = ALIGN(8);
+       .apicdrivers : AT(ADDR(.apicdrivers) - LOAD_OFFSET) {
+               __apicdrivers = .;
+               *(.apicdrivers);
+               __apicdrivers_end = .;
+       }
+
        . = ALIGN(8);
        /*
         * .exit.text is discard at runtime, not link time, to deal with