diff options
author | Michal Simek <monstr@monstr.eu> | 2012-04-02 06:55:47 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-04-02 07:00:26 -0400 |
commit | 0dd90aa9d6222e12201f05c0058e8741b7f66474 (patch) | |
tree | 8a57798f1d84db887b77abc2a66a2217d3b5ca6e /arch/microblaze/include/asm/processor.h | |
parent | 0fc7374bb5df938ef3d386e48ac9797d7651e9cc (diff) |
microblaze: Fix ret_from_fork declaration
ret_from_fork is used by noMMU system too.
It should be the part of patch
"Disintegrate asm/system.h for Microblaze"
(sha1: c40d04df152a1111c5bbcb632278394dabd2b73d)
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/processor.h')
-rw-r--r-- | arch/microblaze/include/asm/processor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/microblaze/include/asm/processor.h b/arch/microblaze/include/asm/processor.h index 510a8e1c16ba..bffb54527299 100644 --- a/arch/microblaze/include/asm/processor.h +++ b/arch/microblaze/include/asm/processor.h | |||
@@ -31,6 +31,8 @@ extern const struct seq_operations cpuinfo_op; | |||
31 | /* Do necessary setup to start up a newly executed thread. */ | 31 | /* Do necessary setup to start up a newly executed thread. */ |
32 | void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp); | 32 | void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp); |
33 | 33 | ||
34 | extern void ret_from_fork(void); | ||
35 | |||
34 | # endif /* __ASSEMBLY__ */ | 36 | # endif /* __ASSEMBLY__ */ |
35 | 37 | ||
36 | # ifndef CONFIG_MMU | 38 | # ifndef CONFIG_MMU |
@@ -143,8 +145,6 @@ static inline void exit_thread(void) | |||
143 | 145 | ||
144 | unsigned long get_wchan(struct task_struct *p); | 146 | unsigned long get_wchan(struct task_struct *p); |
145 | 147 | ||
146 | extern void ret_from_fork(void); | ||
147 | |||
148 | /* The size allocated for kernel stacks. This _must_ be a power of two! */ | 148 | /* The size allocated for kernel stacks. This _must_ be a power of two! */ |
149 | # define KERNEL_STACK_SIZE 0x2000 | 149 | # define KERNEL_STACK_SIZE 0x2000 |
150 | 150 | ||