|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86: fix off-by-one error in the cache fl
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1272973169 -3600
# Node ID bd52f2e040e5a5ca58e956b3d0780a86934a429e
# Parent d6cf080505cda4944e923194bd24faacece668d4
x86: fix off-by-one error in the cache flush portion of flush_area_local().
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
xen/arch/x86/flushtlb.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r d6cf080505cd -r bd52f2e040e5 xen/arch/x86/flushtlb.c
--- a/xen/arch/x86/flushtlb.c Tue May 04 12:38:19 2010 +0100
+++ b/xen/arch/x86/flushtlb.c Tue May 04 12:39:29 2010 +0100
@@ -149,7 +149,7 @@ void flush_area_local(const void *va, un
{
unsigned long i, sz = 0;
- if ( order < (BITS_PER_LONG - PAGE_SHIFT - 1) )
+ if ( order < (BITS_PER_LONG - PAGE_SHIFT) )
sz = 1UL << (order + PAGE_SHIFT);
if ( c->x86_clflush_size && c->x86_cache_size && sz &&
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86: fix off-by-one error in the cache flush portion of flush_area_local().,
Xen patchbot-unstable <=
|
|
|
|
|