1
1

Silence warning of unused function

Requires protection for HAVE___CLEAR_CACHE

Signed-off-by: Ralph Castain <rhc@open-mpi.org>
Этот коммит содержится в:
Ralph Castain 2018-09-12 15:03:59 -07:00
родитель 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)