diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2011-08-18 15:14:10 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2011-11-02 09:15:36 -0400 |
commit | 73395a0002aa9573ffc8d989587b79663847f705 (patch) | |
tree | 5edb92458670b6ae30c53c47179b60379922c729 /arch/um/kernel/exec.c | |
parent | a34978cbd977ab62c744f63daacd9dc1474482be (diff) |
um: distribute exports to where exported stuff is defined
ksyms.c is down to the stuff defined in various USER_OBJS
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/kernel/exec.c')
-rw-r--r-- | arch/um/kernel/exec.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/arch/um/kernel/exec.c b/arch/um/kernel/exec.c index 939a4a67f0fd..6cade9366364 100644 --- a/arch/um/kernel/exec.c +++ b/arch/um/kernel/exec.c | |||
@@ -3,14 +3,15 @@ | |||
3 | * Licensed under the GPL | 3 | * Licensed under the GPL |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include "linux/stddef.h" | 6 | #include <linux/stddef.h> |
7 | #include "linux/fs.h" | 7 | #include <linux/module.h> |
8 | #include "linux/ptrace.h" | 8 | #include <linux/fs.h> |
9 | #include "linux/sched.h" | 9 | #include <linux/ptrace.h> |
10 | #include "linux/slab.h" | 10 | #include <linux/sched.h> |
11 | #include "asm/current.h" | 11 | #include <linux/slab.h> |
12 | #include "asm/processor.h" | 12 | #include <asm/current.h> |
13 | #include "asm/uaccess.h" | 13 | #include <asm/processor.h> |
14 | #include <asm/uaccess.h> | ||
14 | #include "as-layout.h" | 15 | #include "as-layout.h" |
15 | #include "mem_user.h" | 16 | #include "mem_user.h" |
16 | #include "skas.h" | 17 | #include "skas.h" |
@@ -41,6 +42,7 @@ void start_thread(struct pt_regs *regs, unsigned long eip, unsigned long esp) | |||
41 | PT_REGS_IP(regs) = eip; | 42 | PT_REGS_IP(regs) = eip; |
42 | PT_REGS_SP(regs) = esp; | 43 | PT_REGS_SP(regs) = esp; |
43 | } | 44 | } |
45 | EXPORT_SYMBOL(start_thread); | ||
44 | 46 | ||
45 | static long execve1(const char *file, | 47 | static long execve1(const char *file, |
46 | const char __user *const __user *argv, | 48 | const char __user *const __user *argv, |