Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146130
b: refs/heads/master
c: 84f2011
h: refs/heads/master
v: v3
  • Loading branch information
Markus Metzger authored and Ingo Molnar committed Apr 7, 2009
1 parent a0dfe99 commit c984854
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 353afeea24cc51aafc0ff21a72ec740b6f0af50c
refs/heads/master: 84f201139245c30777ff858e71b8d7e134b8c3ed
7 changes: 6 additions & 1 deletion trunk/arch/x86/kernel/ds_selftest.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,13 @@ static int ds_selftest_bts_consistency(const struct bts_trace *trace)
printk(KERN_CONT "bad bts buffer setup...");
error = -1;
}
/*
* We allow top in [begin; end], since its not clear when the
* overflow adjustment happens: after the increment or before the
* write.
*/
if ((trace->ds.top < trace->ds.begin) ||
(trace->ds.end <= trace->ds.top)) {
(trace->ds.end < trace->ds.top)) {
printk(KERN_CONT "bts top out of bounds...");
error = -1;
}
Expand Down

0 comments on commit c984854

Please sign in to comment.