cacheflush.c 379 B

123456789101112131415
  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. #ifdef __NR_cacheflush
  13. _syscall3(int, cacheflush, char *, addr, int, nbytes, int, op)
  14. #endif