Files
OrangePi_CM5/arch/sparc/include/asm/cacheflush.h
T

12 lines
334 B
C
Raw Normal View History

2008-07-17 21:55:51 -07:00
#ifndef ___ASM_SPARC_CACHEFLUSH_H
#define ___ASM_SPARC_CACHEFLUSH_H
/* flush addr - to allow use of self-modifying code */
#define flushi(addr) __asm__ __volatile__ ("flush %0" : : "r" (addr) : "memory")
2008-07-17 21:55:51 -07:00
#if defined(__sparc__) && defined(__arch64__)
2008-07-27 23:00:59 +02:00
#include <asm/cacheflush_64.h>
2008-07-17 21:55:51 -07:00
#else
2008-07-27 23:00:59 +02:00
#include <asm/cacheflush_32.h>
2008-07-17 21:55:51 -07:00
#endif
#endif