Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217470
b: refs/heads/master
c: ea05c84
h: refs/heads/master
v: v3
  • Loading branch information
Dima Zavin authored and Linus Torvalds committed Oct 26, 2010
1 parent 2d49aeb commit f8d48d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d65bfacb046f3df8aa11a9cb9b6e448f6171174d
refs/heads/master: ea05c8444e451f1cfbf78c68733e717ad7b8602b
2 changes: 2 additions & 0 deletions trunk/mm/dmapool.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,8 @@ void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags,
size_t offset;
void *retval;

might_sleep_if(mem_flags & __GFP_WAIT);

spin_lock_irqsave(&pool->lock, flags);
restart:
list_for_each_entry(page, &pool->page_list, page_list) {
Expand Down

0 comments on commit f8d48d4

Please sign in to comment.