summaryrefslogtreecommitdiff
path: root/recipes/linux
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-08-24 20:25:59 +0200
committerKoen Kooi <koen@openembedded.org>2009-08-24 20:25:59 +0200
commite0041be7a72a025f0f292990161fc2158c1981e6 (patch)
tree67f273c9ec039e3eb07dd5262d2091d55f4f441a /recipes/linux
parentfaac35c7aa18054c8d0eb4348ab252d249ba8bf4 (diff)
linux-omap 2.6.29: update holes patch, make iommu modular for beagle
Diffstat (limited to 'recipes/linux')
-rw-r--r--recipes/linux/linux-omap-2.6.29/arch-has-holes.diff2
-rw-r--r--recipes/linux/linux-omap-2.6.29/beagleboard/defconfig2
-rw-r--r--recipes/linux/linux-omap-pm-2.6.29/arch-has-holes.diff2
3 files changed, 3 insertions, 3 deletions
diff --git a/recipes/linux/linux-omap-2.6.29/arch-has-holes.diff b/recipes/linux/linux-omap-2.6.29/arch-has-holes.diff
index 82cb12c575..f3935eb90a 100644
--- a/recipes/linux/linux-omap-2.6.29/arch-has-holes.diff
+++ b/recipes/linux/linux-omap-2.6.29/arch-has-holes.diff
@@ -124,7 +124,7 @@ diff -purN git2/arch/arm/mm/init.c git/arch/arm/mm/init.c
+
+static int __init meminfo_cmp(const void *_a, const void *_b) {
+ const struct membank *a = _a, *b = _b;
-+ long cmp = bank_pfn_start(b) - bank_pfn_start(a);
++ long cmp = bank_pfn_start(a) - bank_pfn_start(b);
+ return cmp < 0 ? -1 : cmp > 0 ? 1 : 0; }
+
void __init bootmem_init(void)
diff --git a/recipes/linux/linux-omap-2.6.29/beagleboard/defconfig b/recipes/linux/linux-omap-2.6.29/beagleboard/defconfig
index 7da8bb9f2b..c9f8e9962b 100644
--- a/recipes/linux/linux-omap-2.6.29/beagleboard/defconfig
+++ b/recipes/linux/linux-omap-2.6.29/beagleboard/defconfig
@@ -199,7 +199,7 @@ CONFIG_OMAP_BOOT_REASON=y
# CONFIG_OMAP_MUX is not set
CONFIG_OMAP_MCBSP=y
# CONFIG_OMAP_MBOX_FWK is not set
-CONFIG_OMAP_IOMMU=y
+CONFIG_OMAP_IOMMU=m
# CONFIG_OMAP_MPU_TIMER is not set
CONFIG_OMAP_32K_TIMER=y
CONFIG_OMAP_32K_TIMER_HZ=128
diff --git a/recipes/linux/linux-omap-pm-2.6.29/arch-has-holes.diff b/recipes/linux/linux-omap-pm-2.6.29/arch-has-holes.diff
index 82cb12c575..f3935eb90a 100644
--- a/recipes/linux/linux-omap-pm-2.6.29/arch-has-holes.diff
+++ b/recipes/linux/linux-omap-pm-2.6.29/arch-has-holes.diff
@@ -124,7 +124,7 @@ diff -purN git2/arch/arm/mm/init.c git/arch/arm/mm/init.c
+
+static int __init meminfo_cmp(const void *_a, const void *_b) {
+ const struct membank *a = _a, *b = _b;
-+ long cmp = bank_pfn_start(b) - bank_pfn_start(a);
++ long cmp = bank_pfn_start(a) - bank_pfn_start(b);
+ return cmp < 0 ? -1 : cmp > 0 ? 1 : 0; }
+
void __init bootmem_init(void)