diff options
Diffstat (limited to 'arch/hexagon/kernel/syscall.c')
-rw-r--r-- | arch/hexagon/kernel/syscall.c | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/arch/hexagon/kernel/syscall.c b/arch/hexagon/kernel/syscall.c deleted file mode 100644 index d2cc3270af3e..000000000000 --- a/arch/hexagon/kernel/syscall.c +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | /* | ||
2 | * Hexagon system calls | ||
3 | * | ||
4 | * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 and | ||
8 | * only version 2 as published by the Free Software Foundation. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, write to the Free Software | ||
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
18 | * 02110-1301, USA. | ||
19 | */ | ||
20 | |||
21 | #include <linux/file.h> | ||
22 | #include <linux/fs.h> | ||
23 | #include <linux/linkage.h> | ||
24 | #include <linux/mm.h> | ||
25 | #include <linux/module.h> | ||
26 | #include <linux/sched.h> | ||
27 | #include <linux/slab.h> | ||
28 | #include <linux/syscalls.h> | ||
29 | #include <linux/unistd.h> | ||
30 | #include <asm/mman.h> | ||
31 | #include <asm/registers.h> | ||
32 | |||
33 | /* | ||
34 | * System calls with architecture-specific wrappers. | ||
35 | * See signal.c for signal-related system call wrappers. | ||
36 | */ | ||
37 | |||
38 | asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp, | ||
39 | unsigned long parent_tidp, unsigned long child_tidp) | ||
40 | { | ||
41 | struct pt_regs *pregs = current_pt_regs(); | ||
42 | |||
43 | if (!newsp) | ||
44 | newsp = pregs->SP; | ||
45 | return do_fork(clone_flags, newsp, pregs, 0, (int __user *)parent_tidp, | ||
46 | (int __user *)child_tidp); | ||
47 | } | ||