Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31191
b: refs/heads/master
c: 1729dc7
h: refs/heads/master
i:
  31189: 5459176
  31187: 5126b5d
  31183: 06dbcd1
v: v3
  • Loading branch information
Paul Mackerras committed Jun 29, 2006
1 parent e63173b commit fa09d64
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 489244498ec99c949ecbd7105299066cff283dcd
refs/heads/master: 1729dc7833014eaba3520091a673dbdc9242d9f9
7 changes: 6 additions & 1 deletion trunk/include/asm-powerpc/mmu_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,13 @@ static inline void enter_lazy_tlb(struct mm_struct *mm,
{
}

/*
* The proto-VSID space has 2^35 - 1 segments available for user mappings.
* Each segment contains 2^28 bytes. Each context maps 2^44 bytes,
* so we can support 2^19-1 contexts (19 == 35 + 28 - 44).
*/
#define NO_CONTEXT 0
#define MAX_CONTEXT (0x100000-1)
#define MAX_CONTEXT ((1UL << 19) - 1)

extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm);
extern void destroy_context(struct mm_struct *mm);
Expand Down

0 comments on commit fa09d64

Please sign in to comment.