Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142316
b: refs/heads/master
c: a29f280
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Hunter authored and David Woodhouse committed Mar 23, 2009
1 parent 6ec693f commit dd0c03f
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 17b536cc43bcf2afcc20b4812f93a895881b5f4f
refs/heads/master: a29f280b739985a9e829d67af4d08e6584153495
4 changes: 4 additions & 0 deletions trunk/drivers/mtd/onenand/omap2.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,10 @@ static int omap3_onenand_read_bufferram(struct mtd_info *mtd, int area,
if (bram_offset & 3 || (size_t)buf & 3 || count < 384)
goto out_copy;

/* panic_write() may be in an interrupt context */
if (in_interrupt())
goto out_copy;

if (buf >= high_memory) {
struct page *p1;

Expand Down

0 comments on commit dd0c03f

Please sign in to comment.