summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/arch/arm/include/asm/mmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'ANDROID_3.4.5/arch/arm/include/asm/mmu.h')
-rw-r--r--ANDROID_3.4.5/arch/arm/include/asm/mmu.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/ANDROID_3.4.5/arch/arm/include/asm/mmu.h b/ANDROID_3.4.5/arch/arm/include/asm/mmu.h
deleted file mode 100644
index 14965658..00000000
--- a/ANDROID_3.4.5/arch/arm/include/asm/mmu.h
+++ /dev/null
@@ -1,37 +0,0 @@
-#ifndef __ARM_MMU_H
-#define __ARM_MMU_H
-
-#ifdef CONFIG_MMU
-
-typedef struct {
-#ifdef CONFIG_CPU_HAS_ASID
- unsigned int id;
- raw_spinlock_t id_lock;
-#endif
- unsigned int kvm_seq;
-} mm_context_t;
-
-#ifdef CONFIG_CPU_HAS_ASID
-#define ASID(mm) ((mm)->context.id & 255)
-
-/* init_mm.context.id_lock should be initialized. */
-#define INIT_MM_CONTEXT(name) \
- .context.id_lock = __RAW_SPIN_LOCK_UNLOCKED(name.context.id_lock),
-#else
-#define ASID(mm) (0)
-#endif
-
-#else
-
-/*
- * From nommu.h:
- * Copyright (C) 2002, David McCullough <davidm@snapgear.com>
- * modified for 2.6 by Hyok S. Choi <hyok.choi@samsung.com>
- */
-typedef struct {
- unsigned long end_brk;
-} mm_context_t;
-
-#endif
-
-#endif