kvm tools, setup: Create private directory
[linux-2.6/next.git] / arch / s390 / include / asm / mmu.h
blob82d0847896a0cc096f38331e83cb9bd3b3dfbae4
1 #ifndef __MMU_H
2 #define __MMU_H
4 typedef struct {
5 atomic_t attach_count;
6 unsigned int flush_mm;
7 spinlock_t list_lock;
8 struct list_head pgtable_list;
9 unsigned long asce_bits;
10 unsigned long asce_limit;
11 unsigned long vdso_base;
12 /* Cloned contexts will be created with extended page tables. */
13 unsigned int alloc_pgste:1;
14 /* The mmu context has extended page tables. */
15 unsigned int has_pgste:1;
16 } mm_context_t;
18 #define INIT_MM_CONTEXT(name) \
19 .context.list_lock = __SPIN_LOCK_UNLOCKED(name.context.list_lock), \
20 .context.pgtable_list = LIST_HEAD_INIT(name.context.pgtable_list),
22 #endif