ARCH OMAP : enable ARCH_HAS_HOLES_MEMORYMODEL for OMAP
authorSriram <srk@ti.com>
Mon, 11 Jan 2010 23:53:23 +0000 (15:53 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 11 Jan 2010 23:53:23 +0000 (15:53 -0800)
OMAP platforms(like OMAP3530) include DSP or other co-processors
for media acceleration. when carving out memory for the
accelerators we can end up creating a hole in the memory map
of sort:
<kernel memory><hole(memory for accelerator)><kernel memory>

To handle such a memory configuration ARCH_HAS_HOLES_MEMORYMODEL
has to be enabled. For further information refer discussion at:
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg15262.html.

Signed-off-by: Sriramakrishnan <srk@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/Kconfig

index c2238cd..91d4c3b 100644 (file)
@@ -702,6 +702,7 @@ config ARCH_OMAP
        select ARCH_HAS_CPUFREQ
        select GENERIC_TIME
        select GENERIC_CLOCKEVENTS
+       select ARCH_HAS_HOLES_MEMORYMODEL
        help
          Support for TI's OMAP platform (OMAP1 and OMAP2).