Skip to content

Commit

Permalink
microblaze: Fix ret_from_fork declaration
Browse files Browse the repository at this point in the history
ret_from_fork is used by noMMU system too.

It should be the part of patch
"Disintegrate asm/system.h for Microblaze"
(sha1: c40d04d)

Signed-off-by: Michal Simek <monstr@monstr.eu>
  • Loading branch information
Michal Simek committed Apr 2, 2012
1 parent 0fc7374 commit 0dd90aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/microblaze/include/asm/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ extern const struct seq_operations cpuinfo_op;
/* Do necessary setup to start up a newly executed thread. */
void start_thread(struct pt_regs *regs, unsigned long pc, unsigned long usp);

extern void ret_from_fork(void);

# endif /* __ASSEMBLY__ */

# ifndef CONFIG_MMU
Expand Down Expand Up @@ -143,8 +145,6 @@ static inline void exit_thread(void)

unsigned long get_wchan(struct task_struct *p);

extern void ret_from_fork(void);

/* The size allocated for kernel stacks. This _must_ be a power of two! */
# define KERNEL_STACK_SIZE 0x2000

Expand Down

0 comments on commit 0dd90aa

Please sign in to comment.