Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223675
b: refs/heads/master
c: 29c185e
h: refs/heads/master
i:
  223673: e77f924
  223671: 4a094f8
v: v3
  • Loading branch information
Paul Mundt committed Dec 24, 2010
1 parent 0abe4bb commit 6bccc57
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 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: 9a14f653dfe349c0916e6a78c413effa2fa3f001
refs/heads/master: 29c185e5c681ca00d863d161eda7eadb93e32ee5
27 changes: 26 additions & 1 deletion trunk/mm/nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Copyright (c) 2000-2003 David McCullough <davidm@snapgear.com>
* Copyright (c) 2000-2001 D Jeff Dionne <jeff@uClinux.org>
* Copyright (c) 2002 Greg Ungerer <gerg@snapgear.com>
* Copyright (c) 2007-2009 Paul Mundt <lethal@linux-sh.org>
* Copyright (c) 2007-2010 Paul Mundt <lethal@linux-sh.org>
*/

#include <linux/module.h>
Expand Down Expand Up @@ -441,6 +441,31 @@ void __attribute__((weak)) vmalloc_sync_all(void)
{
}

/**
* alloc_vm_area - allocate a range of kernel address space
* @size: size of the area
*
* Returns: NULL on failure, vm_struct on success
*
* This function reserves a range of kernel address space, and
* allocates pagetables to map that range. No actual mappings
* are created. If the kernel address space is not shared
* between processes, it syncs the pagetable across all
* processes.
*/
struct vm_struct *alloc_vm_area(size_t size)
{
BUG();
return NULL;
}
EXPORT_SYMBOL_GPL(alloc_vm_area);

void free_vm_area(struct vm_struct *area)
{
BUG();
}
EXPORT_SYMBOL_GPL(free_vm_area);

int vm_insert_page(struct vm_area_struct *vma, unsigned long addr,
struct page *page)
{
Expand Down

0 comments on commit 6bccc57

Please sign in to comment.