]> Git Repo - linux.git/blob - arch/sparc/include/asm/cacheflush.h
Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux...
[linux.git] / arch / sparc / include / asm / cacheflush.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ___ASM_SPARC_CACHEFLUSH_H
3 #define ___ASM_SPARC_CACHEFLUSH_H
4
5 /* flush addr - to allow use of self-modifying code */
6 #define flushi(addr)    __asm__ __volatile__ ("flush %0" : : "r" (addr) : "memory")
7
8 #if defined(__sparc__) && defined(__arch64__)
9 #include <asm/cacheflush_64.h>
10 #else
11 #include <asm/cacheflush_32.h>
12 #endif
13 #endif
This page took 0.033253 seconds and 4 git commands to generate.