Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291792
b: refs/heads/master
c: 45b408d
h: refs/heads/master
v: v3
  • Loading branch information
Cong Wang authored and Cong Wang committed Mar 20, 2012
1 parent 337bc24 commit 36a6433
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 1c9c20f60230bd5a6195d41f9dd2dfa60874b1da
refs/heads/master: 45b408d2efb04cda10b6112ce2be95689d70cb0c
4 changes: 2 additions & 2 deletions trunk/drivers/ide/ide-taskfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ void ide_pio_bytes(ide_drive_t *drive, struct ide_cmd *cmd,
if (page_is_high)
local_irq_save(flags);

buf = kmap_atomic(page, KM_BIO_SRC_IRQ) + offset;
buf = kmap_atomic(page) + offset;

cmd->nleft -= nr_bytes;
cmd->cursg_ofs += nr_bytes;
Expand All @@ -269,7 +269,7 @@ void ide_pio_bytes(ide_drive_t *drive, struct ide_cmd *cmd,
else
hwif->tp_ops->input_data(drive, cmd, buf, nr_bytes);

kunmap_atomic(buf, KM_BIO_SRC_IRQ);
kunmap_atomic(buf);

if (page_is_high)
local_irq_restore(flags);
Expand Down

0 comments on commit 36a6433

Please sign in to comment.