Skip to content

Commit

Permalink
[PATCH] nommu: implement vmalloc_node()
Browse files Browse the repository at this point in the history
Fix oprofile linkage.   Pointed out by "Luke Yang" <[email protected]>.

Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Mar 1, 2006
1 parent e8788c0 commit f613888
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion mm/nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit f613888

Please sign in to comment.