Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83469
b: refs/heads/master
c: 15ae02b
h: refs/heads/master
i:
  83467: 9dd76ad
v: v3
  • Loading branch information
Eric Dumazet authored and Linus Torvalds committed Feb 6, 2008
1 parent a449ca2 commit 2ff55f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: f63fd7e299ee13da071ecfce2b90b58c5e1562b1
refs/heads/master: 15ae02baf025750cd79ef3929c28f7083a088bd2
6 changes: 3 additions & 3 deletions trunk/lib/extable.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ search_extable(const struct exception_table_entry *first,
while (first <= last) {
const struct exception_table_entry *mid;

mid = (last - first) / 2 + first;
mid = ((last - first) >> 1) + first;
/*
* careful, the distance between entries can be
* larger than 2GB:
* careful, the distance between value and insn
* can be larger than MAX_LONG:
*/
if (mid->insn < value)
first = mid + 1;
Expand Down

0 comments on commit 2ff55f8

Please sign in to comment.