diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-21 22:05:45 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-21 22:05:45 -0500 |
commit | df32e43a54d04eda35d2859beaf90e3864d53288 (patch) | |
tree | 7a61cf658b2949bd426285eb9902be7758ced1ba /arch/arm/mach-omap2/omap_hwmod.c | |
parent | fbd918a2026d0464ce9c23f57b7de4bcfccdc2e6 (diff) | |
parent | 78d5506e82b21a1a1de68c24182db2c2fe521422 (diff) |
Merge branch 'akpm' (incoming from Andrew)
Merge first patch-bomb from Andrew Morton:
- a couple of misc things
- inotify/fsnotify work from Jan
- ocfs2 updates (partial)
- about half of MM
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (117 commits)
mm/migrate: remove unused function, fail_migrate_page()
mm/migrate: remove putback_lru_pages, fix comment on putback_movable_pages
mm/migrate: correct failure handling if !hugepage_migration_support()
mm/migrate: add comment about permanent failure path
mm, page_alloc: warn for non-blockable __GFP_NOFAIL allocation failure
mm: compaction: reset scanner positions immediately when they meet
mm: compaction: do not mark unmovable pageblocks as skipped in async compaction
mm: compaction: detect when scanners meet in isolate_freepages
mm: compaction: reset cached scanner pfn's before reading them
mm: compaction: encapsulate defer reset logic
mm: compaction: trace compaction begin and end
memcg, oom: lock mem_cgroup_print_oom_info
sched: add tracepoints related to NUMA task migration
mm: numa: do not automatically migrate KSM pages
mm: numa: trace tasks that fail migration due to rate limiting
mm: numa: limit scope of lock for NUMA migrate rate limiting
mm: numa: make NUMA-migrate related functions static
lib/show_mem.c: show num_poisoned_pages when oom
mm/hwpoison: add '#' to hwpoison_inject
mm/memblock: use WARN_ONCE when MAX_NUMNODES passed as input parameter
...
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index 8a1b5e0bad40..f7a6fd35b1e4 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c | |||
@@ -2791,9 +2791,7 @@ static int __init _alloc_links(struct omap_hwmod_link **ml, | |||
2791 | sz = sizeof(struct omap_hwmod_link) * LINKS_PER_OCP_IF; | 2791 | sz = sizeof(struct omap_hwmod_link) * LINKS_PER_OCP_IF; |
2792 | 2792 | ||
2793 | *sl = NULL; | 2793 | *sl = NULL; |
2794 | *ml = alloc_bootmem(sz); | 2794 | *ml = memblock_virt_alloc(sz, 0); |
2795 | |||
2796 | memset(*ml, 0, sz); | ||
2797 | 2795 | ||
2798 | *sl = (void *)(*ml) + sizeof(struct omap_hwmod_link); | 2796 | *sl = (void *)(*ml) + sizeof(struct omap_hwmod_link); |
2799 | 2797 | ||
@@ -2912,9 +2910,7 @@ static int __init _alloc_linkspace(struct omap_hwmod_ocp_if **ois) | |||
2912 | pr_debug("omap_hwmod: %s: allocating %d byte linkspace (%d links)\n", | 2910 | pr_debug("omap_hwmod: %s: allocating %d byte linkspace (%d links)\n", |
2913 | __func__, sz, max_ls); | 2911 | __func__, sz, max_ls); |
2914 | 2912 | ||
2915 | linkspace = alloc_bootmem(sz); | 2913 | linkspace = memblock_virt_alloc(sz, 0); |
2916 | |||
2917 | memset(linkspace, 0, sz); | ||
2918 | 2914 | ||
2919 | return 0; | 2915 | return 0; |
2920 | } | 2916 | } |