Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147115
b: refs/heads/master
c: 43ebdac
h: refs/heads/master
i:
  147113: d56d070
  147111: 57e9751
v: v3
  • Loading branch information
Pekka Enberg committed Jun 11, 2009
1 parent d754224 commit 8744273
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 83b519e8b9572c319c8e0c615ee5dd7272856090
refs/heads/master: 43ebdac42f16037263b52a5aeedcd1bfa4a9bb29
2 changes: 1 addition & 1 deletion trunk/init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,6 @@ asmlinkage void __init start_kernel(void)
* kmem_cache_init()
*/
pidhash_init();
vmalloc_init();
vfs_caches_init_early();
sort_main_extable();
trap_init();
Expand All @@ -596,6 +595,7 @@ asmlinkage void __init start_kernel(void)
*/
mem_init();
kmem_cache_init();
vmalloc_init();
/*
* Set up the scheduler prior starting any interrupts (such as the
* timer interrupt). Full topology setup happens at smp_init()
Expand Down
3 changes: 1 addition & 2 deletions trunk/mm/vmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <linux/rbtree.h>
#include <linux/radix-tree.h>
#include <linux/rcupdate.h>
#include <linux/bootmem.h>
#include <linux/pfn.h>

#include <asm/atomic.h>
Expand Down Expand Up @@ -1032,7 +1031,7 @@ void __init vmalloc_init(void)

/* Import existing vmlist entries. */
for (tmp = vmlist; tmp; tmp = tmp->next) {
va = alloc_bootmem(sizeof(struct vmap_area));
va = kzalloc(sizeof(struct vmap_area), GFP_NOWAIT);
va->flags = tmp->flags | VM_VM_AREA;
va->va_start = (unsigned long)tmp->addr;
va->va_end = va->va_start + tmp->size;
Expand Down

0 comments on commit 8744273

Please sign in to comment.