Merge branch 'org.openembedded.dev' of git.openembedded.org:openembedded into org...
[openembedded.git] / recipes / linux / linux-omap-2.6.32 / holes.patch
1 From patchwork Thu Jan  7 12:30:08 2010
2 Content-Type: text/plain; charset="utf-8"
3 MIME-Version: 1.0
4 Content-Transfer-Encoding: 7bit
5 Subject: ARCH OMAP : enable ARCH_HAS_HOLES_MEMORYMODEL for OMAP
6 Date: Thu, 07 Jan 2010 12:30:08 -0000
7 From: Sriram <srk@ti.com>
8 X-Patchwork-Id: 71579
9
10 From: Sriram <srk@ti.com>
11
12 OMAP platforms(like OMAP3530) include DSP or other co-processors
13 for media acceleration. when carving out memory for the
14 accelerators we can end up creating a hole in the memory map
15 of sort:
16 <kernel memory><hole(memory for accelerator)><kernel memory>
17
18 To handle such a memory configuration ARCH_HAS_HOLES_MEMORYMODEL
19 has to be enabled. For further information refer discussion at:
20 http://www.mail-archive.com/linux-omap@vger.kernl.org/msg15262.html.
21
22 Signed-off-by: Sriramakrishnan <srk@ti.com>
23
24 ---
25 arch/arm/Kconfig |    1 +
26  1 files changed, 1 insertions(+), 0 deletions(-)
27
28 diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
29 index 5e0bcc5..88f628b 100644
30 --- a/arch/arm/Kconfig
31 +++ b/arch/arm/Kconfig
32 @@ -699,6 +699,7 @@ config ARCH_OMAP
33         select ARCH_HAS_CPUFREQ
34         select GENERIC_TIME
35         select GENERIC_CLOCKEVENTS
36 +       select ARCH_HAS_HOLES_MEMORYMODEL
37         help
38           Support for TI's OMAP platform (OMAP1 and OMAP2).
39