/* * arch/sh/kernel/sys_sh.c: * asmlinkage int sys_cacheflush(unsigned long addr, unsigned long len, int op); */ #include "trinity.h" #include "sanitise.h" #include struct syscall syscall_sh_cacheflush = { .name = "sh_cacheflush", .num_args = 3, .arg1name = "addr", .arg1type = ARG_ADDRESS, .arg2name = "len", .arg2type = ARG_LEN, .arg3name = "op", .arg3type = ARG_LIST, .arg3list = { .num = 4, .values = { CACHEFLUSH_D_INVAL, CACHEFLUSH_D_WB, CACHEFLUSH_D_PURGE, CACHEFLUSH_I, }, }, }; .