Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213056
b: refs/heads/master
c: c49825f
h: refs/heads/master
v: v3
  • Loading branch information
Malahal Naineni authored and Jens Axboe committed Sep 24, 2010
1 parent 8f6665a commit 0f3bee1
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 4b1977698ceb4c4caa800d475127139da49966f9
refs/heads/master: c49825facfd4969585224a896a5e717f88450cad
4 changes: 1 addition & 3 deletions trunk/block/blk-settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,16 +214,14 @@ 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;
q->limits.bounce_pfn = b_pfn;
#endif
q->limits.bounce_pfn = b_pfn;
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 0f3bee1

Please sign in to comment.