diff options
Diffstat (limited to 'drivers/ide/ide-taskfile.c')
-rw-r--r-- | drivers/ide/ide-taskfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c index 5bc2839ebcfd..729428edeba2 100644 --- a/drivers/ide/ide-taskfile.c +++ b/drivers/ide/ide-taskfile.c | |||
@@ -253,7 +253,7 @@ void ide_pio_bytes(ide_drive_t *drive, struct ide_cmd *cmd, | |||
253 | if (page_is_high) | 253 | if (page_is_high) |
254 | local_irq_save(flags); | 254 | local_irq_save(flags); |
255 | 255 | ||
256 | buf = kmap_atomic(page, KM_BIO_SRC_IRQ) + offset; | 256 | buf = kmap_atomic(page) + offset; |
257 | 257 | ||
258 | cmd->nleft -= nr_bytes; | 258 | cmd->nleft -= nr_bytes; |
259 | cmd->cursg_ofs += nr_bytes; | 259 | cmd->cursg_ofs += nr_bytes; |
@@ -269,7 +269,7 @@ void ide_pio_bytes(ide_drive_t *drive, struct ide_cmd *cmd, | |||
269 | else | 269 | else |
270 | hwif->tp_ops->input_data(drive, cmd, buf, nr_bytes); | 270 | hwif->tp_ops->input_data(drive, cmd, buf, nr_bytes); |
271 | 271 | ||
272 | kunmap_atomic(buf, KM_BIO_SRC_IRQ); | 272 | kunmap_atomic(buf); |
273 | 273 | ||
274 | if (page_is_high) | 274 | if (page_is_high) |
275 | local_irq_restore(flags); | 275 | local_irq_restore(flags); |