x86: enable dyn_array support
authorYinghai Lu <yhlu.kernel@gmail.com>
Wed, 20 Aug 2008 03:49:46 +0000 (20:49 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:52:04 +0000 (16:52 +0200)
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/Kconfig
arch/x86/Kconfig
arch/x86/kernel/vmlinux_32.lds.S
arch/x86/kernel/vmlinux_64.lds.S

index 0267babe5eb9dc6a6c79f2347234b7d78aafc2e8..c1f9febb404f57af6e8d903d1a38171ffc5b156e 100644 (file)
@@ -103,3 +103,5 @@ config HAVE_CLK
          The <linux/clk.h> calls support software clock gating and
          thus are a key power management tool on many systems.
 
+config HAVE_DYN_ARRAY
+       def_bool n
index f65c2744d5733971caf75b253070b4e9a821d786..42f98009d7528e7ad53af73721db42ae5589816a 100644 (file)
@@ -33,6 +33,7 @@ config X86
        select HAVE_ARCH_TRACEHOOK
        select HAVE_GENERIC_DMA_COHERENT if X86_32
        select HAVE_EFFICIENT_UNALIGNED_ACCESS
+       select HAVE_DYN_ARRAY
 
 config ARCH_DEFCONFIG
        string
index a9b8560adbc22ebe37cfde9abcb7c46237fca3db..c36007ab3940d4a634c272218fc7849e25cc7222 100644 (file)
@@ -145,6 +145,7 @@ SECTIONS
        *(.x86_cpu_dev.init)
        __x86_cpu_dev_end = .;
   }
+  DYN_ARRAY_INIT(8)
   SECURITY_INIT
   . = ALIGN(4);
   .altinstructions : AT(ADDR(.altinstructions) - LOAD_OFFSET) {
index 46e05447405b43855f46602f493847b75efa252a..30973dbac8c2cecc56375e7b30809e54a6a8fdbd 100644 (file)
@@ -173,6 +173,9 @@ SECTIONS
        *(.x86_cpu_dev.init)
   }
   __x86_cpu_dev_end = .;
+
+  DYN_ARRAY_INIT(8)
+
   SECURITY_INIT
 
   . = ALIGN(8);
This page took 0.031295 seconds and 5 git commands to generate.