提交 04286d07 编写于 作者: E Eugeniy Paltsev 提交者: Alexey Brodkin

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: NEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
上级 b15cb0bf
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册