Commit b7fb9e6a48b13e1edea1f0b1f00a45defd7c9e0e
1 parent
4d8edbfefb
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
arch/metag/kernel/cachepart.c
... | ... | @@ -67,7 +67,7 @@ |
67 | 67 | return 0; |
68 | 68 | #if PAGE_OFFSET >= LINGLOBAL_BASE |
69 | 69 | /* Checking for global cache */ |
70 | - cache_size = (cache == DCACHE ? get_global_dache_size() : | |
70 | + cache_size = (cache == DCACHE ? get_global_dcache_size() : | |
71 | 71 | get_global_icache_size()); |
72 | 72 | offset = 8; |
73 | 73 | #else |