OSDN Git Service

clean up 3rd round
[uclinux-h8/linux.git] / arch / h8300 / kernel / sys_h8300.c
1 /*
2  * linux/arch/h8300/kernel/sys_h8300.c
3  *
4  * This file contains various random system calls that
5  * have a non-standard calling sequence on the H8/300
6  * platform.
7  */
8
9 #include <asm/setup.h>
10 #include <asm/uaccess.h>
11
12 /* sys_cacheflush -- no support.  */
13 asmlinkage int
14 sys_cacheflush(unsigned long addr, int scope, int cache, unsigned long len)
15 {
16         return -EINVAL;
17 }
18
19 asmlinkage int sys_getpagesize(void)
20 {
21         return PAGE_SIZE;
22 }