Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6ffe1b8 authored by Hans-Christian Egtvedt's avatar Hans-Christian Egtvedt
Browse files

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 c80d79d7 for details.

Signed-off-by: default avatarPaul Bolle <pebolle@tiscali.nl>
Signed-off-by: default avatarHans-Christian Egtvedt <egtvedt@samfundet.no>
parent 1db77221
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -208,6 +208,11 @@ config ARCH_DISCONTIGMEM_ENABLE
config ARCH_SPARSEMEM_ENABLE
	def_bool n

config NODES_SHIFT
	int
	default "2"
	depends on NEED_MULTIPLE_NODES

source "mm/Kconfig"

config OWNERSHIP_TRACE

arch/avr32/include/asm/numnodes.h

deleted100644 → 0
+0 −7
Original line number Diff line number Diff line
#ifndef __ASM_AVR32_NUMNODES_H
#define __ASM_AVR32_NUMNODES_H

/* Max 4 nodes */
#define NODES_SHIFT	2

#endif /* __ASM_AVR32_NUMNODES_H */