commit | 833abf7fe011c3dfe9bcab405856b73deab17062 | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Tue Oct 10 18:33:10 2006 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Tue Oct 10 18:33:10 2006 +0900 |
tree | a19df7c2785c7d55df55c7c396d24ec194280f7c | |
parent | 0f13804ae9d894c1fbd90bde38ae2aa0f01b0edd [diff] [blame] |
sh: Zero-out coherent buffer in consistent_alloc(). Be sure to zero out the buffer, this was causing occasional problems under heavier PCI tests. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
diff --git a/arch/sh/mm/consistent.c b/arch/sh/mm/consistent.c index c81e6b6..38c82d8 100644 --- a/arch/sh/mm/consistent.c +++ b/arch/sh/mm/consistent.c
@@ -28,6 +28,7 @@ split_page(page, order); ret = page_address(page); + memset(ret, 0, size); *handle = virt_to_phys(ret); /*