Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24769
b: refs/heads/master
c: e6d1ba5
h: refs/heads/master
i:
  24767: c85b1d5
v: v3
  • Loading branch information
Satoru Takeuchi authored and Tony Luck committed Mar 28, 2006
1 parent f7abdaf commit 7cf2efc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 46cba3dcaea4eb51b28fac78d15542a90619a6ef
refs/heads/master: e6d1ba5cd9954e7c15538aaef7585b235a69e0e1
5 changes: 1 addition & 4 deletions trunk/arch/ia64/kernel/iosapic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1063,10 +1063,7 @@ iosapic_check_gsi_range (unsigned int gsi_base, unsigned int ver)
base = iosapic_lists[index].gsi_base;
end = base + iosapic_lists[index].num_rte - 1;

if (gsi_base < base && gsi_end < base)
continue;/* OK */

if (gsi_base > end && gsi_end > end)
if (gsi_end < base || end < gsi_base)
continue; /* OK */

return -EBUSY;
Expand Down

0 comments on commit 7cf2efc

Please sign in to comment.