| struct list_head pgtable_list; |
| struct list_head gmap_list; |
| unsigned long asce_limit; |
| /* Cloned contexts will be created with extended page tables. */ |
| unsigned int alloc_pgste:1; |
| /* The mmu context has extended page tables. */ |
| unsigned int has_pgste:1; |
| #define INIT_MM_CONTEXT(name) \ |
| .context.list_lock = __SPIN_LOCK_UNLOCKED(name.context.list_lock), \ |
| .context.pgtable_list = LIST_HEAD_INIT(name.context.pgtable_list), \ |
| .context.gmap_list = LIST_HEAD_INIT(name.context.gmap_list), |
| static inline int tprot(unsigned long addr) |
| : "+d" (rc) : "a" (addr) : "cc"); |