aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <egtvedt@samfundet.no>2013-05-13 16:13:59 -0400
committerHans-Christian Egtvedt <egtvedt@samfundet.no>2013-05-13 16:13:59 -0400
commitd6ffe1b8ecc59ae23524e408063dc7725f485f96 (patch)
tree4fa5c0e3812d9c5372580f8c5997eee1f423c8e3
parent1db772216f48978d5146b858586f6178433aad38 (diff)
avr32: move NODES_SHIFT into Kconfig and delete numnodes.h
This patch moves the NODES_SHIFT symbol into Kconfig to synchronize AVR32 architecture with the current kernel. The global header files do longer use the value from numnodes.h. See commit c80d79d746cc48bd94b0ce4f6d4f3c90cd403aaf for details. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
-rw-r--r--arch/avr32/Kconfig5
-rw-r--r--arch/avr32/include/asm/numnodes.h7
2 files changed, 5 insertions, 7 deletions
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig
index 22c40308360b..ba4d40569f9e 100644
--- a/arch/avr32/Kconfig
+++ b/arch/avr32/Kconfig
@@ -208,6 +208,11 @@ config ARCH_DISCONTIGMEM_ENABLE
208config ARCH_SPARSEMEM_ENABLE 208config ARCH_SPARSEMEM_ENABLE
209 def_bool n 209 def_bool n
210 210
211config NODES_SHIFT
212 int
213 default "2"
214 depends on NEED_MULTIPLE_NODES
215
211source "mm/Kconfig" 216source "mm/Kconfig"
212 217
213config OWNERSHIP_TRACE 218config OWNERSHIP_TRACE
diff --git a/arch/avr32/include/asm/numnodes.h b/arch/avr32/include/asm/numnodes.h
deleted file mode 100644
index 0b864d7ce330..000000000000
--- a/arch/avr32/include/asm/numnodes.h
+++ /dev/null
@@ -1,7 +0,0 @@
1#ifndef __ASM_AVR32_NUMNODES_H
2#define __ASM_AVR32_NUMNODES_H
3
4/* Max 4 nodes */
5#define NODES_SHIFT 2
6
7#endif /* __ASM_AVR32_NUMNODES_H */