diff options
author | Andrew Morton <akpm@osdl.org> | 2006-02-28 16:59:18 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-28 20:53:44 -0800 |
commit | f61388822a6040ff462c5f7260daa0f1017f2db0 (patch) | |
tree | 51f9b93f4127d94ebbe5bc6321c025bbc4852f7e /mm | |
parent | e8788c0cce63e0cc8689a123d1ce0af1e28cd583 (diff) | |
download | linux-3.10-f61388822a6040ff462c5f7260daa0f1017f2db0.tar.gz linux-3.10-f61388822a6040ff462c5f7260daa0f1017f2db0.tar.bz2 linux-3.10-f61388822a6040ff462c5f7260daa0f1017f2db0.zip |
[PATCH] nommu: implement vmalloc_node()
Fix oprofile linkage. Pointed out by "Luke Yang" <luke.adi@gmail.com>.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/nommu.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mm/nommu.c b/mm/nommu.c index 99d21020ec9..4951f4786f2 100644 --- a/mm/nommu.c +++ b/mm/nommu.c @@ -53,7 +53,6 @@ DECLARE_RWSEM(nommu_vma_sem); struct vm_operations_struct generic_file_vm_ops = { }; -EXPORT_SYMBOL(vmalloc); EXPORT_SYMBOL(vfree); EXPORT_SYMBOL(vmalloc_to_page); EXPORT_SYMBOL(vmalloc_32); @@ -205,6 +204,13 @@ void *vmalloc(unsigned long size) { return __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL); } +EXPORT_SYMBOL(vmalloc); + +void *vmalloc_node(unsigned long size, int node) +{ + return vmalloc(size); +} +EXPORT_SYMBOL(vmalloc_node); /* * vmalloc_32 - allocate virtually continguos memory (32bit addressable) |