Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298845
b: refs/heads/master
c: 5f22070
h: refs/heads/master
i:
  298843: 58cd313
v: v3
  • Loading branch information
Chris Metcalf committed Apr 2, 2012
1 parent df27a71 commit b2aea41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 444eef1ba40546690a77b2af4cba7d4561e7bba5
refs/heads/master: 5f220704127ae70db519fabbda4ece649eadac7f
2 changes: 2 additions & 0 deletions trunk/arch/tile/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ void *module_alloc(unsigned long size)
area = __get_vm_area(size, VM_ALLOC, MEM_MODULE_START, MEM_MODULE_END);
if (!area)
goto error;
area->nr_pages = npages;
area->pages = pages;

if (map_vm_area(area, prot_rwx, &pages)) {
vunmap(area->addr);
Expand Down

0 comments on commit b2aea41

Please sign in to comment.