Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273033
b: refs/heads/master
c: 4dc706c
h: refs/heads/master
i:
  273031: afb7c8d
v: v3
  • Loading branch information
Al Viro authored and Richard Weinberger committed Nov 2, 2011
1 parent 2067a20 commit 1954bd0
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 35 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: 548fd1e8dba90bea674f5969d73498959d83924b
refs/heads/master: 4dc706c2f292b2c28016a27f400af84a62ec4a63
22 changes: 17 additions & 5 deletions trunk/arch/um/include/asm/mmu.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
/*
* Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
* Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL
*/

#ifndef __MMU_H
#define __MMU_H
#ifndef __ARCH_UM_MMU_H
#define __ARCH_UM_MMU_H

#include "um_mmu.h"
#include "mm_id.h"
#include "ldt.h"

#endif
typedef struct mm_context {
struct mm_id id;
struct uml_ldt ldt;
struct page **stub_pages;
} mm_context_t;

extern void __switch_mm(struct mm_id * mm_idp);

/* Avoid tangled inclusion with asm/ldt.h */
extern long init_new_ldt(struct mm_context *to_mm, struct mm_context *from_mm);
extern void free_ldt(struct mm_context *mm);

#endif
7 changes: 2 additions & 5 deletions trunk/arch/um/include/asm/mmu_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,12 @@
#ifndef __UM_MMU_CONTEXT_H
#define __UM_MMU_CONTEXT_H

#include "linux/sched.h"
#include "um_mmu.h"
#include <linux/sched.h>
#include <asm/mmu.h>

extern void arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm);
extern void arch_exit_mmap(struct mm_struct *mm);

#define get_mmu_context(task) do ; while(0)
#define activate_context(tsk) do ; while(0)

#define deactivate_mm(tsk,mm) do { } while (0)

extern void force_flush_all(void);
Expand Down
24 changes: 0 additions & 24 deletions trunk/arch/um/include/shared/um_mmu.h

This file was deleted.

0 comments on commit 1954bd0

Please sign in to comment.