diff options
author | Koen Kooi <koen@openembedded.org> | 2009-08-24 20:25:59 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-08-24 20:25:59 +0200 |
commit | e0041be7a72a025f0f292990161fc2158c1981e6 (patch) | |
tree | 67f273c9ec039e3eb07dd5262d2091d55f4f441a /recipes/linux/linux-omap-pm-2.6.29 | |
parent | faac35c7aa18054c8d0eb4348ab252d249ba8bf4 (diff) |
linux-omap 2.6.29: update holes patch, make iommu modular for beagle
Diffstat (limited to 'recipes/linux/linux-omap-pm-2.6.29')
-rw-r--r-- | recipes/linux/linux-omap-pm-2.6.29/arch-has-holes.diff | 2 |
1 files changed, 1 insertions, 1 deletions
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) |