diff options
author | Richard Braun <rbraun@sceen.net> | 2012-12-01 15:44:30 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2012-12-01 15:44:30 +0100 |
commit | ab421c48f208fecd2bd42dd5ce8096c6c91dcd3b (patch) | |
tree | f0647b928620cb853ce65c2d286262e2dda5bdc1 /vm/vm_map.c | |
parent | cf06fbde7911c5380d9f145f55168cddb4f01bd4 (diff) |
vm/vm_map: merge vm_map_bootstrap into vm_map_setup
Diffstat (limited to 'vm/vm_map.c')
-rw-r--r-- | vm/vm_map.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c index b987fb74..e085a8f1 100644 --- a/vm/vm_map.c +++ b/vm/vm_map.c @@ -727,7 +727,7 @@ vm_map_init(struct vm_map *map, struct pmap *pmap, unsigned long start, } void __init -vm_map_bootstrap(void) +vm_map_setup(void) { struct vm_map_request request; unsigned long start, end; @@ -753,11 +753,7 @@ vm_map_bootstrap(void) assert(!error); vm_map_kentry_setup(); -} -void __init -vm_map_setup(void) -{ kmem_cache_init(&vm_map_entry_cache, "vm_map_entry", sizeof(struct vm_map_entry), 0, NULL, NULL, NULL, 0); } |