mips: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
This commit is contained in:
@@ -498,7 +498,7 @@ static inline void local_r4k_flush_cache_page(void *args)
|
||||
if (map_coherent)
|
||||
vaddr = kmap_coherent(page, addr);
|
||||
else
|
||||
vaddr = kmap_atomic(page, KM_USER0);
|
||||
vaddr = kmap_atomic(page);
|
||||
addr = (unsigned long)vaddr;
|
||||
}
|
||||
|
||||
@@ -521,7 +521,7 @@ static inline void local_r4k_flush_cache_page(void *args)
|
||||
if (map_coherent)
|
||||
kunmap_coherent();
|
||||
else
|
||||
kunmap_atomic(vaddr, KM_USER0);
|
||||
kunmap_atomic(vaddr);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user