summaryrefslogtreecommitdiffstats
path: root/arch/metag/kernel/cachepart.c
diff options
context:
space:
mode:
authorJames Hogan2013-03-08 16:30:01 +0100
committerJames Hogan2013-03-15 14:21:18 +0100
commitb7fb9e6a48b13e1edea1f0b1f00a45defd7c9e0e (patch)
tree279e329edece96a6d843147f79b4a26c4046f3b5 /arch/metag/kernel/cachepart.c
parentmetag: cachepart: take into account small cache bits (diff)
downloadkernel-qcow2-linux-b7fb9e6a48b13e1edea1f0b1f00a45defd7c9e0e.tar.gz
kernel-qcow2-linux-b7fb9e6a48b13e1edea1f0b1f00a45defd7c9e0e.tar.xz
kernel-qcow2-linux-b7fb9e6a48b13e1edea1f0b1f00a45defd7c9e0e.zip
metag: cachepart: fix get_global_dcache_size() typo
Compilation is broken when the kernel is destined to live in the global part of the virtual address space: arch/metag/kernel/cachepart.c In function 'get_thread_cache_size': arch/metag/kernel/cachepart.c +71 : error: implicit declaration of function 'get_global_dache_size' Fix the typo. Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'arch/metag/kernel/cachepart.c')
-rw-r--r--arch/metag/kernel/cachepart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/metag/kernel/cachepart.c b/arch/metag/kernel/cachepart.c
index c737edb5b2d5..954548b1bea8 100644
--- a/arch/metag/kernel/cachepart.c
+++ b/arch/metag/kernel/cachepart.c
@@ -67,7 +67,7 @@ static unsigned int get_thread_cache_size(unsigned int cache, int thread_id)
return 0;
#if PAGE_OFFSET >= LINGLOBAL_BASE
/* Checking for global cache */
- cache_size = (cache == DCACHE ? get_global_dache_size() :
+ cache_size = (cache == DCACHE ? get_global_dcache_size() :
get_global_icache_size());
offset = 8;
#else