git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
include
/
asm-arm
/
mmu_context.h
diff --git
a/include/asm-arm/mmu_context.h
b/include/asm-arm/mmu_context.h
index
d1a65b1
..
81c59fa
100644
(file)
--- a/
include/asm-arm/mmu_context.h
+++ b/
include/asm-arm/mmu_context.h
@@
-17,8
+17,6
@@
#include <asm/cacheflush.h>
#include <asm/proc-fns.h>
#include <asm/cacheflush.h>
#include <asm/proc-fns.h>
-void __check_kvm_seq(struct mm_struct *mm);
-
#if __LINUX_ARM_ARCH__ >= 6
/*
#if __LINUX_ARM_ARCH__ >= 6
/*
@@
-47,21
+45,13
@@
static inline void check_context(struct mm_struct *mm)
{
if (unlikely((mm->context.id ^ cpu_last_asid) >> ASID_BITS))
__new_context(mm);
{
if (unlikely((mm->context.id ^ cpu_last_asid) >> ASID_BITS))
__new_context(mm);
-
- if (unlikely(mm->context.kvm_seq != init_mm.context.kvm_seq))
- __check_kvm_seq(mm);
}
#define init_new_context(tsk,mm) (__init_new_context(tsk,mm),0)
#else
}
#define init_new_context(tsk,mm) (__init_new_context(tsk,mm),0)
#else
-static inline void check_context(struct mm_struct *mm)
-{
- if (unlikely(mm->context.kvm_seq != init_mm.context.kvm_seq))
- __check_kvm_seq(mm);
-}
-
+#define check_context(mm) do { } while (0)
#define init_new_context(tsk,mm) 0
#endif
#define init_new_context(tsk,mm) 0
#endif
@@
-92,7
+82,6
@@
static inline void
switch_mm(struct mm_struct *prev, struct mm_struct *next,
struct task_struct *tsk)
{
switch_mm(struct mm_struct *prev, struct mm_struct *next,
struct task_struct *tsk)
{
-#ifdef CONFIG_MMU
unsigned int cpu = smp_processor_id();
if (prev != next) {
unsigned int cpu = smp_processor_id();
if (prev != next) {
@@
-102,7
+91,6
@@
switch_mm(struct mm_struct *prev, struct mm_struct *next,
if (cache_is_vivt())
cpu_clear(cpu, prev->cpu_vm_mask);
}
if (cache_is_vivt())
cpu_clear(cpu, prev->cpu_vm_mask);
}
-#endif
}
#define deactivate_mm(tsk,mm) do { } while (0)
}
#define deactivate_mm(tsk,mm) do { } while (0)