From a98934adc9277d1dea52b929d59c6b15ccf115a2 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Thu, 2 Jul 2009 11:02:13 +0200 Subject: sh: add cacheflush syscall wrapper Signed-off-by: Giuseppe Cavallaro Signed-off-by: Carmelo Amoroso --- libc/sysdeps/linux/sh/cacheflush.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 libc/sysdeps/linux/sh/cacheflush.c (limited to 'libc/sysdeps/linux/sh/cacheflush.c') diff --git a/libc/sysdeps/linux/sh/cacheflush.c b/libc/sysdeps/linux/sh/cacheflush.c new file mode 100644 index 000000000..58229186d --- /dev/null +++ b/libc/sysdeps/linux/sh/cacheflush.c @@ -0,0 +1,15 @@ +/* + * cacheflush syscall for SUPERH + * + * Copyright (C) 2009 STMicroelectronics Ltd + * Author: Giuseppe Cavallaro + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ +#include +#include +#include + +#ifdef __NR_cacheflush +_syscall3(int, cacheflush, char *, addr, int, nbytes, int, op) +#endif -- cgit v1.2.3