diff options
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | 2020-03-11 15:00:44 +0300 |
---|---|---|
committer | Alexey Brodkin <abrodkin@synopsys.com> | 2020-04-16 23:36:36 +0300 |
commit | 04286d073e6eee1db089e92837ba184a91d8846c (patch) | |
tree | b578363f79e3e5f74066d6541c3e0d1cea91b7b2 /arch/arc/lib | |
parent | b15cb0bfe8c77002ab639378b548f2c817283315 (diff) | |
download | u-boot-04286d073e6eee1db089e92837ba184a91d8846c.tar.gz u-boot-04286d073e6eee1db089e92837ba184a91d8846c.tar.bz2 u-boot-04286d073e6eee1db089e92837ba184a91d8846c.zip |
ARC: CACHE: mark IOC helper functions as inlined_cachefunc
Force inlining of IOC related functions used in other cache
functions. This is preventive change.
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'arch/arc/lib')
-rw-r--r-- | arch/arc/lib/cache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arc/lib/cache.c b/arch/arc/lib/cache.c index c42723daeb..8a1d67870a 100644 --- a/arch/arc/lib/cache.c +++ b/arch/arc/lib/cache.c @@ -179,7 +179,7 @@ DECLARE_GLOBAL_DATA_PTR; static inlined_cachefunc void __ic_entire_invalidate(void); static inlined_cachefunc void __dc_entire_op(const int cacheop); static inlined_cachefunc void __slc_entire_op(const int op); -static inline bool ioc_enabled(void); +static inlined_cachefunc bool ioc_enabled(void); static inline bool pae_exists(void) { @@ -346,7 +346,7 @@ void slc_disable(void) __slc_disable(); } -static inline bool ioc_exists(void) +static inlined_cachefunc bool ioc_exists(void) { if (is_isa_arcv2()) { union bcr_clust_cfg cbcr; @@ -358,7 +358,7 @@ static inline bool ioc_exists(void) return false; } -static inline bool ioc_enabled(void) +static inlined_cachefunc bool ioc_enabled(void) { /* * We check only CONFIG option instead of IOC HW state check as IOC |