From: Jeroen Hofstee Date: Mon, 27 Oct 2014 19:10:06 +0000 (+0100) Subject: arm926ejs: cache: use __weak X-Git-Tag: v2025.01-rc5-pxa1908~14374 X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=09e6e0b7decf8c16bc59e5899fd91e4beac3e9fb;p=u-boot.git arm926ejs: cache: use __weak Cc: Albert Aribaud Signed-off-by: Jeroen Hofstee --- diff --git a/arch/arm/cpu/arm926ejs/cache.c b/arch/arm/cpu/arm926ejs/cache.c index e86c2edd3b..8d7873c9af 100644 --- a/arch/arm/cpu/arm926ejs/cache.c +++ b/arch/arm/cpu/arm926ejs/cache.c @@ -99,7 +99,4 @@ void flush_cache(unsigned long start, unsigned long size) /* * Stub implementations for l2 cache operations */ -void __l2_cache_disable(void) {} - -void l2_cache_disable(void) - __attribute__((weak, alias("__l2_cache_disable"))); +__weak void l2_cache_disable(void) {}