summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/cacheflush.c
blob: 619b96b5abfcc4e0e77622397cee898f48e21aba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * cacheflush syscall for SUPERH
 *
 * Copyright (C) 2009 STMicroelectronics Ltd
 * Author: Giuseppe Cavallaro <peppe.cavallaro@st.com>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */
#include <sys/syscall.h>

#ifdef __NR_cacheflush
int cacheflush(void *addr, const int nbytes, int op);
_syscall3(int, cacheflush, void *, addr, const int, nbytes, const int, op)
#endif