blob: 03be99919d626d730971011034ca882edc26bcbe [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __MMU_H
2#define __MMU_H
3
Martin Schwidefsky146e4b32008-02-09 18:24:35 +01004typedef struct {
Martin Schwidefsky50aa98b2009-09-11 10:28:57 +02005 spinlock_t list_lock;
Martin Schwidefsky146e4b32008-02-09 18:24:35 +01006 struct list_head crst_list;
7 struct list_head pgtable_list;
8 unsigned long asce_bits;
Martin Schwidefsky6252d702008-02-09 18:24:37 +01009 unsigned long asce_limit;
Martin Schwidefskyb0206322008-12-25 13:38:36 +010010 unsigned long vdso_base;
Martin Schwidefsky146e4b32008-02-09 18:24:35 +010011 int noexec;
Christian Borntraeger250cf772008-10-28 11:10:15 +010012 int has_pgste; /* The mmu context has extended page tables */
13 int alloc_pgste; /* cloned contexts will have extended page tables */
Martin Schwidefsky146e4b32008-02-09 18:24:35 +010014} mm_context_t;
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
16#endif