Silence warning of unused function
Requires protection for HAVE___CLEAR_CACHE Signed-off-by: Ralph Castain <rhc@open-mpi.org>
Этот коммит содержится в:
родитель
b83ad04e4e
Коммит
853dc96c5d
@ -77,6 +77,7 @@ static int PatchLoadImm (uintptr_t addr, unsigned int reg, size_t value)
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !HAVE___CLEAR_CACHE
|
||||||
static void flush_and_invalidate_cache (unsigned long a)
|
static void flush_and_invalidate_cache (unsigned long a)
|
||||||
{
|
{
|
||||||
#if OPAL_ASSEMBLY_ARCH == OPAL_IA32
|
#if OPAL_ASSEMBLY_ARCH == OPAL_IA32
|
||||||
@ -114,6 +115,7 @@ static void flush_and_invalidate_cache (unsigned long a)
|
|||||||
"isb":: "r" (a));
|
"isb":: "r" (a));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#endif // HAVE___CLEAR_CACHE
|
||||||
|
|
||||||
// modify protection of memory range
|
// modify protection of memory range
|
||||||
static void ModifyMemoryProtection (uintptr_t addr, size_t length, int prot)
|
static void ModifyMemoryProtection (uintptr_t addr, size_t length, int prot)
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user