Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26274
b: refs/heads/master
c: cda3d4a
h: refs/heads/master
v: v3
  • Loading branch information
Mike Habeck authored and Tony Luck committed Apr 27, 2006
1 parent 92608cb commit b4da5e6
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: 1df57c0c21c92a6d4fcfe5304c84151ed9beb7a2
refs/heads/master: cda3d4a069b915cf46e640bb6872a9d9aefeaabe
6 changes: 3 additions & 3 deletions trunk/arch/ia64/sn/pci/tioce_provider.c
Original file line number Diff line number Diff line change
Expand Up @@ -682,9 +682,6 @@ tioce_reserve_m32(struct tioce_kernel *ce_kern, u64 base, u64 limit)
int ate_index, last_ate, ps;
struct tioce *ce_mmr;

if (!TIOCE_M32_ADDR(base))
return;

ce_mmr = (struct tioce *)ce_kern->ce_common->ce_pcibus.bs_base;
ps = ce_kern->ce_ate3240_pagesize;
ate_index = ATE_PAGE(base, ps);
Expand All @@ -693,6 +690,9 @@ tioce_reserve_m32(struct tioce_kernel *ce_kern, u64 base, u64 limit)
if (ate_index < 64)
ate_index = 64;

if (last_ate >= TIOCE_NUM_M3240_ATES)
last_ate = TIOCE_NUM_M3240_ATES - 1;

while (ate_index <= last_ate) {
u64 ate;

Expand Down

0 comments on commit b4da5e6

Please sign in to comment.