summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/uncached.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/mm/uncached.c')
-rw-r--r--arch/sh/mm/uncached.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sh/mm/uncached.c b/arch/sh/mm/uncached.c
index 807906981d9..cf20a5c5136 100644
--- a/arch/sh/mm/uncached.c
+++ b/arch/sh/mm/uncached.c
@@ -26,3 +26,9 @@ void __init uncached_init(void)
uncached_start = memory_end;
uncached_end = uncached_start + uncached_size;
}
+
+void __init uncached_resize(unsigned long size)
+{
+ uncached_size = size;
+ uncached_end = uncached_start + uncached_size;
+}