aboutsummaryrefslogtreecommitdiffstats
path: root/old/xenolinux-2.4.16-sparse/arch/xeno/mm/mmu_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'old/xenolinux-2.4.16-sparse/arch/xeno/mm/mmu_context.c')
-rw-r--r--old/xenolinux-2.4.16-sparse/arch/xeno/mm/mmu_context.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/old/xenolinux-2.4.16-sparse/arch/xeno/mm/mmu_context.c b/old/xenolinux-2.4.16-sparse/arch/xeno/mm/mmu_context.c
deleted file mode 100644
index b8f41fb269..0000000000
--- a/old/xenolinux-2.4.16-sparse/arch/xeno/mm/mmu_context.c
+++ /dev/null
@@ -1,26 +0,0 @@
-
-#include <linux/slab.h>
-#include <linux/list.h>
-
-int init_new_context(struct task_struct *tsk, struct mm_struct *mm)
-{
- INIT_LIST_HEAD(&mm->context.direct_list);
- return 0;
-}
-
-/* just free all elements of list identifying directly mapped areas */
-void destroy_context(struct mm_struct *mm)
-{
- direct_mmap_node_t * node;
- struct list_head * curr;
- struct list_head * direct_list = &mm->context.direct_list;
-
- curr = direct_list->next;
- while(curr != direct_list){
- node = list_entry(curr, direct_mmap_node_t, list);
- curr = curr->next;
- list_del(&node->list);
- kfree(node);
- }
-
-}