x86/xen: resume timer irqs early
[linux/fpc-iii.git] / arch / h8300 / kernel / sys_h8300.c
blobbf350cb7f597907ac9846a39a24514c6a2d304c7
1 /*
2 * linux/arch/h8300/kernel/sys_h8300.c
4 * This file contains various random system calls that
5 * have a non-standard calling sequence on the H8/300
6 * platform.
7 */
9 #include <linux/errno.h>
10 #include <linux/sched.h>
11 #include <linux/mm.h>
12 #include <linux/smp.h>
13 #include <linux/sem.h>
14 #include <linux/msg.h>
15 #include <linux/shm.h>
16 #include <linux/stat.h>
17 #include <linux/syscalls.h>
18 #include <linux/mman.h>
19 #include <linux/file.h>
20 #include <linux/fs.h>
21 #include <linux/ipc.h>
23 #include <asm/setup.h>
24 #include <asm/uaccess.h>
25 #include <asm/cachectl.h>
26 #include <asm/traps.h>
27 #include <asm/unistd.h>
29 /* sys_cacheflush -- no support. */
30 asmlinkage int
31 sys_cacheflush (unsigned long addr, int scope, int cache, unsigned long len)
33 return -EINVAL;
36 asmlinkage int sys_getpagesize(void)
38 return PAGE_SIZE;
41 #if defined(CONFIG_SYSCALL_PRINT)
42 asmlinkage void syscall_print(void *dummy,...)
44 struct pt_regs *regs = (struct pt_regs *) ((unsigned char *)&dummy-4);
45 printk("call %06lx:%ld 1:%08lx,2:%08lx,3:%08lx,ret:%08lx\n",
46 ((regs->pc)&0xffffff)-2,regs->orig_er0,regs->er1,regs->er2,regs->er3,regs->er0);
48 #endif