projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c9c20f
)
ide: remove the second argument of k[un]map_atomic()
author
Cong Wang
<amwang@redhat.com>
Fri, 25 Nov 2011 15:14:20 +0000
(23:14 +0800)
committer
Cong Wang
<xiyou.wangcong@gmail.com>
Tue, 20 Mar 2012 13:48:17 +0000
(21:48 +0800)
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
drivers/ide/ide-taskfile.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ide/ide-taskfile.c
b/drivers/ide/ide-taskfile.c
index 5bc2839ebcfdff11bed95117570cbb9a1092bfe6..729428edeba26c4fca4ddfde7c9615f76a0c76b5 100644
(file)
--- 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,
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;
@@
-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);