cacheflush.c 406 B

1234567891011121314
  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 <sys/syscall.h>
  10. #ifdef __NR_cacheflush
  11. int cacheflush(void *addr, const int nbytes, int op);
  12. _syscall3(int, cacheflush, void *, addr, const int, nbytes, const int, op)
  13. #endif