Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147116
b: refs/heads/master
c: 444f478
h: refs/heads/master
v: v3
  • Loading branch information
Pekka Enberg committed Jun 11, 2009
1 parent 8744273 commit 53265de
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 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: 43ebdac42f16037263b52a5aeedcd1bfa4a9bb29
refs/heads/master: 444f478f65c7ca4606f9965b31feed13fe2bc9fa
17 changes: 11 additions & 6 deletions trunk/init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,16 @@ void __init __weak thread_info_cache_init(void)
{
}

/*
* Set up kernel memory allocators
*/
static void __init mm_init(void)
{
mem_init();
kmem_cache_init();
vmalloc_init();
}

asmlinkage void __init start_kernel(void)
{
char * command_line;
Expand Down Expand Up @@ -590,12 +600,7 @@ asmlinkage void __init start_kernel(void)
vfs_caches_init_early();
sort_main_extable();
trap_init();
/*
* Set up kernel memory allocators
*/
mem_init();
kmem_cache_init();
vmalloc_init();
mm_init();
/*
* Set up the scheduler prior starting any interrupts (such as the
* timer interrupt). Full topology setup happens at smp_init()
Expand Down

0 comments on commit 53265de

Please sign in to comment.