]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
f5e706ad SR |
2 | #ifndef ___ASM_SPARC_CACHEFLUSH_H |
3 | #define ___ASM_SPARC_CACHEFLUSH_H | |
1edc1783 SR |
4 | |
5 | /* flush addr - to allow use of self-modifying code */ | |
6 | #define flushi(addr) __asm__ __volatile__ ("flush %0" : : "r" (addr) : "memory") | |
7 | ||
f5e706ad | 8 | #if defined(__sparc__) && defined(__arch64__) |
a439fe51 | 9 | #include <asm/cacheflush_64.h> |
f5e706ad | 10 | #else |
a439fe51 | 11 | #include <asm/cacheflush_32.h> |
f5e706ad SR |
12 | #endif |
13 | #endif |