yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame^] | 1 | /* |
2 | * cacheflush syscall for SUPERH | ||||
3 | * | ||||
4 | * Copyright (C) 2009 STMicroelectronics Ltd | ||||
5 | * Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> | ||||
6 | * | ||||
7 | * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. | ||||
8 | */ | ||||
9 | #include <errno.h> | ||||
10 | #include <unistd.h> | ||||
11 | #include <sys/syscall.h> | ||||
12 | |||||
13 | #ifdef __NR_cacheflush | ||||
14 | _syscall3(int, cacheflush, char *, addr, int, nbytes, int, op) | ||||
15 | #endif |