Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
arch
/
x86
/
include
/
asm
/
tlbflush.h
diff --git
a/kernel/arch/x86/include/asm/tlbflush.h
b/kernel/arch/x86/include/asm/tlbflush.h
index
cd79194
..
6df2029
100644
(file)
--- a/
kernel/arch/x86/include/asm/tlbflush.h
+++ b/
kernel/arch/x86/include/asm/tlbflush.h
@@
-261,6
+261,12
@@
static inline void reset_lazy_tlbstate(void)
#endif /* SMP */
#endif /* SMP */
+/* Not inlined due to inc_irq_stat not being defined yet */
+#define flush_tlb_local() { \
+ inc_irq_stat(irq_tlb_count); \
+ local_flush_tlb(); \
+}
+
#ifndef CONFIG_PARAVIRT
#define flush_tlb_others(mask, mm, start, end) \
native_flush_tlb_others(mask, mm, start, end)
#ifndef CONFIG_PARAVIRT
#define flush_tlb_others(mask, mm, start, end) \
native_flush_tlb_others(mask, mm, start, end)