git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
block: Use accessor functions for queue limits
[pandora-kernel.git]
/
mm
/
bounce.c
diff --git
a/mm/bounce.c
b/mm/bounce.c
index
e590272
..
8dcd431
100644
(file)
--- a/
mm/bounce.c
+++ b/
mm/bounce.c
@@
-192,7
+192,7
@@
static void __blk_queue_bounce(struct request_queue *q, struct bio **bio_orig,
/*
* is destination page below bounce pfn?
*/
/*
* is destination page below bounce pfn?
*/
- if (page_to_pfn(page) <= q
->bounce_pfn
)
+ if (page_to_pfn(page) <= q
ueue_bounce_pfn(q)
)
continue;
/*
continue;
/*
@@
-284,7
+284,7
@@
void blk_queue_bounce(struct request_queue *q, struct bio **bio_orig)
* don't waste time iterating over bio segments
*/
if (!(q->bounce_gfp & GFP_DMA)) {
* don't waste time iterating over bio segments
*/
if (!(q->bounce_gfp & GFP_DMA)) {
- if (q
->bounce_pfn
>= blk_max_pfn)
+ if (q
ueue_bounce_pfn(q)
>= blk_max_pfn)
return;
pool = page_pool;
} else {
return;
pool = page_pool;
} else {