Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7fb9e6a authored by James Hogan's avatar James Hogan
Browse files

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: default avatarJames Hogan <james.hogan@imgtec.com>
parent 4d8edbfe
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -67,7 +67,7 @@ static unsigned int get_thread_cache_size(unsigned int cache, int thread_id)
		return 0;
		return 0;
#if PAGE_OFFSET >= LINGLOBAL_BASE
#if PAGE_OFFSET >= LINGLOBAL_BASE
	/* Checking for global cache */
	/* Checking for global cache */
	cache_size = (cache == DCACHE ? get_global_dache_size() :
	cache_size = (cache == DCACHE ? get_global_dcache_size() :
		get_global_icache_size());
		get_global_icache_size());
	offset = 8;
	offset = 8;
#else
#else