projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb7001b
)
sh: Fix up sh7705 flush_dcache_page() build.
author
Paul Mundt
<lethal@linux-sh.org>
Tue, 15 Sep 2009 00:47:35 +0000
(09:47 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 15 Sep 2009 00:47:35 +0000
(09:47 +0900)
Type mismatch caused the page deref to blow up, fix it up as per the sh4
change.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/cache-sh7705.c
patch
|
blob
|
history
diff --git
a/arch/sh/mm/cache-sh7705.c
b/arch/sh/mm/cache-sh7705.c
index 6293f57fa888b7bc8a720c3daaf9b5cb034e2997..2cadee2037ac5aa225a9f8c405f001f10c05e05d 100644
(file)
--- a/
arch/sh/mm/cache-sh7705.c
+++ b/
arch/sh/mm/cache-sh7705.c
@@
-133,8
+133,9
@@
static void __flush_dcache_page(unsigned long phys)
* Write back & invalidate the D-cache of the page.
* (To avoid "alias" issues)
*/
-static void sh7705_flush_dcache_page(void *
page
)
+static void sh7705_flush_dcache_page(void *
arg
)
{
+ struct page *page = arg;
struct address_space *mapping = page_mapping(page);
if (mapping && !mapping_mapped(mapping))