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
vserver 1.9.5.x5
[linux-2.6.git]
/
include
/
asm-ppc64
/
tlbflush.h
diff --git
a/include/asm-ppc64/tlbflush.h
b/include/asm-ppc64/tlbflush.h
index
183bdfb
..
45411a6
100644
(file)
--- a/
include/asm-ppc64/tlbflush.h
+++ b/
include/asm-ppc64/tlbflush.h
@@
-32,10
+32,11
@@
extern void __flush_tlb_pending(struct ppc64_tlb_batch *batch);
static inline void flush_tlb_pending(void)
{
static inline void flush_tlb_pending(void)
{
- struct ppc64_tlb_batch *batch = &
__
get_cpu_var(ppc64_tlb_batch);
+ struct ppc64_tlb_batch *batch = &get_cpu_var(ppc64_tlb_batch);
if (batch->index)
__flush_tlb_pending(batch);
if (batch->index)
__flush_tlb_pending(batch);
+ put_cpu_var(ppc64_tlb_batch);
}
#define flush_tlb_mm(mm) flush_tlb_pending()
}
#define flush_tlb_mm(mm) flush_tlb_pending()