| To: | ralf@linux-mips.org |
|---|---|
| Subject: | Re: [MIPS] Implement flush_anon_page(). |
| From: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
| Date: | Sun, 25 Mar 2007 02:10:10 +0900 (JST) |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <20070324162721.GA12117@linux-mips.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <S20022532AbXCWXgp/20070323233645Z+1432@ftp.linux-mips.org> <20070325.001433.108739347.anemo@mba.ocn.ne.jp> <20070324162721.GA12117@linux-mips.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
On Sat, 24 Mar 2007 16:27:21 +0000, Ralf Baechle <ralf@linux-mips.org> wrote:
> Sometimes sparse is a PITA ... Applied.
Thanks. And one more. Fix kunmap_coherent() usage. Or is it a time
to kill the unused argument of kunmap_coherent()?
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
---
diff --git a/arch/mips/mm/cache.c b/arch/mips/mm/cache.c
index 4e8f1b6..70ccc5d 100644
--- a/arch/mips/mm/cache.c
+++ b/arch/mips/mm/cache.c
@@ -96,7 +96,7 @@ void __flush_anon_page(struct page *page
kaddr = kmap_coherent(page, vmaddr);
flush_data_cache_page((unsigned long)kaddr);
- kunmap_coherent(kaddr);
+ kunmap_coherent(page);
}
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [MIPS] Implement flush_anon_page()., Ralf Baechle |
|---|---|
| Next by Date: | Measuring time, bora . sahin |
| Previous by Thread: | Re: [MIPS] Implement flush_anon_page()., Ralf Baechle |
| Next by Thread: | Re: [MIPS] Implement flush_anon_page()., Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |