ia64/linux-2.6.18-xen.hg

view include/asm-arm/mmu.h @ 782:9ab1c319531f

merge with linux-2.6.18-xen.hg
author Isaku Yamahata <yamahata@valinux.co.jp>
date Wed Jan 28 13:07:23 2009 +0900 (2009-01-28)
parents 831230e53067
children
line source
1 #ifndef __ARM_MMU_H
2 #define __ARM_MMU_H
4 #ifdef CONFIG_MMU
6 typedef struct {
7 #if __LINUX_ARM_ARCH__ >= 6
8 unsigned int id;
9 #endif
10 unsigned int kvm_seq;
11 } mm_context_t;
13 #if __LINUX_ARM_ARCH__ >= 6
14 #define ASID(mm) ((mm)->context.id & 255)
15 #else
16 #define ASID(mm) (0)
17 #endif
19 #else
21 /*
22 * From nommu.h:
23 * Copyright (C) 2002, David McCullough <davidm@snapgear.com>
24 * modified for 2.6 by Hyok S. Choi <hyok.choi@samsung.com>
25 */
26 typedef struct {
27 struct vm_list_struct *vmlist;
28 unsigned long end_brk;
29 } mm_context_t;
31 #endif
33 #endif