mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[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>
This commit is contained in:
parent
e8788c0cce
commit
f61388822a
1 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue