diff options
author | Zhao Hongjiang <zhaohongjiang@huawei.com> | 2013-07-08 03:22:50 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2013-07-08 04:23:15 -0400 |
commit | 0eb5afb3bae69a18bb4a8dbcbd361c4403fb54cd (patch) | |
tree | 3c9a1981692cf58324f5b068dbd9c23413d562e9 /arch/xtensa | |
parent | 478ba61afccd3a4d7ca662cadff1d35d183fe67d (diff) |
xtensa: remove the second argument of __bio_kmap_atomic()
kmap_atomic allows only one argument now, just remove the unused 'kmtype'.
Signed-off-by: Zhao Hongjiang <zhaohongjiang@huawei.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa')
-rw-r--r-- | arch/xtensa/platforms/iss/simdisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/platforms/iss/simdisk.c b/arch/xtensa/platforms/iss/simdisk.c index c0edb35424ce..8c6e819cd8ed 100644 --- a/arch/xtensa/platforms/iss/simdisk.c +++ b/arch/xtensa/platforms/iss/simdisk.c | |||
@@ -108,13 +108,13 @@ static int simdisk_xfer_bio(struct simdisk *dev, struct bio *bio) | |||
108 | sector_t sector = bio->bi_sector; | 108 | sector_t sector = bio->bi_sector; |
109 | 109 | ||
110 | bio_for_each_segment(bvec, bio, i) { | 110 | bio_for_each_segment(bvec, bio, i) { |
111 | char *buffer = __bio_kmap_atomic(bio, i, KM_USER0); | 111 | char *buffer = __bio_kmap_atomic(bio, i); |
112 | unsigned len = bvec->bv_len >> SECTOR_SHIFT; | 112 | unsigned len = bvec->bv_len >> SECTOR_SHIFT; |
113 | 113 | ||
114 | simdisk_transfer(dev, sector, len, buffer, | 114 | simdisk_transfer(dev, sector, len, buffer, |
115 | bio_data_dir(bio) == WRITE); | 115 | bio_data_dir(bio) == WRITE); |
116 | sector += len; | 116 | sector += len; |
117 | __bio_kunmap_atomic(bio, KM_USER0); | 117 | __bio_kunmap_atomic(bio); |
118 | } | 118 | } |
119 | return 0; | 119 | return 0; |
120 | } | 120 | } |