projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c709e6
)
ARM: nommu: provide dummy cpu_switch_mm implementation
author
Will Deacon
<will.deacon@arm.com>
Tue, 28 Feb 2012 14:26:42 +0000
(14:26 +0000)
committer
Jonathan Austin
<jonathan.austin@arm.com>
Fri, 7 Jun 2013 16:02:43 +0000
(17:02 +0100)
cpu_switch_mm is a logical nop on nommu systems, so define it as such
when !CONFIG_MMU.
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/include/asm/proc-fns.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/include/asm/proc-fns.h
b/arch/arm/include/asm/proc-fns.h
index f3628fb3d2b331a9dba24fc29fdb8bf4b3c6b3d1..a6c99fe62b820afa0b0a980069a9e60aeb68d260 100644
(file)
--- a/
arch/arm/include/asm/proc-fns.h
+++ b/
arch/arm/include/asm/proc-fns.h
@@
-137,6
+137,10
@@
extern void cpu_resume(void);
})
#endif
+#else /*!CONFIG_MMU */
+
+#define cpu_switch_mm(pgd,mm) { }
+
#endif
#endif /* __ASSEMBLY__ */