projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARCv2: mm: TLB Miss optim: SMP builds can cache pgd pointer in mmu scratch reg
[linux-2.6-microblaze.git]
/
arch
/
arc
/
include
/
asm
/
mmu.h
diff --git
a/arch/arc/include/asm/mmu.h
b/arch/arc/include/asm/mmu.h
index
98cadf1
..
0abacb8
100644
(file)
--- a/
arch/arc/include/asm/mmu.h
+++ b/
arch/arc/include/asm/mmu.h
@@
-40,6
+40,10
@@
#define ARC_REG_SCRATCH_DATA0 0x46c
#endif
+#if defined(CONFIG_ISA_ARCV2) || !defined(CONFIG_SMP)
+#define ARC_USE_SCRATCH_REG
+#endif
+
/* Bits in MMU PID register */
#define __TLB_ENABLE (1 << 31)
#define __PROG_ENABLE (1 << 30)