summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/cacheflush.c
blob: 58229186da1c9bf8fad555c64536ca1456be9293 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * 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 <errno.h>
#include <unistd.h>
#include <sys/syscall.h>

#ifdef __NR_cacheflush
_syscall3(int, cacheflush, char *, addr, int, nbytes, int, op)
#endif