Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213058
b: refs/heads/master
c: 260a67a
h: refs/heads/master
v: v3
  • Loading branch information
Jens Axboe committed Oct 1, 2010
1 parent f70ac86 commit 2faef85
Show file tree
Hide file tree
Showing 2 changed files with 4 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: e4ecda1b60bfd2333c12bbe71b153d3b6bdc831a
refs/heads/master: 260a67a9e534f0c7d49ddd6451833d54ba39ac81
4 changes: 3 additions & 1 deletion trunk/block/blk-settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,14 +214,16 @@ void blk_queue_bounce_limit(struct request_queue *q, u64 dma_mask)
*/
if (b_pfn < (min_t(u64, 0xffffffffUL, BLK_BOUNCE_HIGH) >> PAGE_SHIFT))
dma = 1;
q->limits.bounce_pfn = max_low_pfn;
#else
if (b_pfn < blk_max_low_pfn)
dma = 1;
#endif
q->limits.bounce_pfn = b_pfn;
#endif
if (dma) {
init_emergency_isa_pool();
q->bounce_gfp = GFP_NOIO | GFP_DMA;
q->limits.bounce_pfn = b_pfn;
}
}
EXPORT_SYMBOL(blk_queue_bounce_limit);
Expand Down

0 comments on commit 2faef85

Please sign in to comment.