Commit 6da55c3e authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar

x86: enable dyn_array support

Signed-off-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 1f8ff037
...@@ -103,3 +103,5 @@ config HAVE_CLK ...@@ -103,3 +103,5 @@ config HAVE_CLK
The <linux/clk.h> calls support software clock gating and The <linux/clk.h> calls support software clock gating and
thus are a key power management tool on many systems. thus are a key power management tool on many systems.
config HAVE_DYN_ARRAY
def_bool n
...@@ -33,6 +33,7 @@ config X86 ...@@ -33,6 +33,7 @@ config X86
select HAVE_ARCH_TRACEHOOK select HAVE_ARCH_TRACEHOOK
select HAVE_GENERIC_DMA_COHERENT if X86_32 select HAVE_GENERIC_DMA_COHERENT if X86_32
select HAVE_EFFICIENT_UNALIGNED_ACCESS select HAVE_EFFICIENT_UNALIGNED_ACCESS
select HAVE_DYN_ARRAY
config ARCH_DEFCONFIG config ARCH_DEFCONFIG
string string
......
...@@ -145,6 +145,7 @@ SECTIONS ...@@ -145,6 +145,7 @@ SECTIONS
*(.x86_cpu_dev.init) *(.x86_cpu_dev.init)
__x86_cpu_dev_end = .; __x86_cpu_dev_end = .;
} }
DYN_ARRAY_INIT(8)
SECURITY_INIT SECURITY_INIT
. = ALIGN(4); . = ALIGN(4);
.altinstructions : AT(ADDR(.altinstructions) - LOAD_OFFSET) { .altinstructions : AT(ADDR(.altinstructions) - LOAD_OFFSET) {
......
...@@ -173,6 +173,9 @@ SECTIONS ...@@ -173,6 +173,9 @@ SECTIONS
*(.x86_cpu_dev.init) *(.x86_cpu_dev.init)
} }
__x86_cpu_dev_end = .; __x86_cpu_dev_end = .;
DYN_ARRAY_INIT(8)
SECURITY_INIT SECURITY_INIT
. = ALIGN(8); . = ALIGN(8);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment