summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-10-27 20:10:06 +0100
committerTom Rini <trini@ti.com>2014-11-04 15:01:04 -0500
commit09e6e0b7decf8c16bc59e5899fd91e4beac3e9fb (patch)
treee938ccd7bfefd21c5aaf66ecd7128a192cf568c8
parent13a8b7ae71449fdc6eb4df3a98abd0838637aa82 (diff)
arm926ejs: cache: use __weak
Cc: Albert Aribaud <albert.u.boot@aribaud.net> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
-rw-r--r--arch/arm/cpu/arm926ejs/cache.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/cpu/arm926ejs/cache.c b/arch/arm/cpu/arm926ejs/cache.c
index e86c2edd3bb..8d7873c9af3 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) {}