2011-06-08 12:30:09

by Mathias Krause

[permalink] [raw]
Subject: [PATCH] microblaze: remove duplicated prototype of start_thread()

The prototype for start_thread() is already present in the MMU/NOMMU
independent part of the file. Remove the duplicate.

Signed-off-by: Mathias Krause <[email protected]>
---
arch/microblaze/include/asm/processor.h | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/arch/microblaze/include/asm/processor.h b/arch/microblaze/include/asm/processor.h
index aed2a6b..7283bfb 100644
--- a/arch/microblaze/include/asm/processor.h
+++ b/arch/microblaze/include/asm/processor.h
@@ -125,9 +125,6 @@ struct thread_struct {
.pgdir = swapper_pg_dir, \
}

-/* Do necessary setup to start up a newly executed thread. */
-void start_thread(struct pt_regs *regs,
- unsigned long pc, unsigned long usp);

/* Free all resources held by a thread. */
extern inline void release_thread(struct task_struct *dead_task)
--
1.5.6.5


2011-06-09 09:00:24

by Michal Simek

[permalink] [raw]
Subject: Re: [PATCH] microblaze: remove duplicated prototype of start_thread()

Mathias Krause wrote:
> The prototype for start_thread() is already present in the MMU/NOMMU
> independent part of the file. Remove the duplicate.
>
> Signed-off-by: Mathias Krause <[email protected]>
> ---
> arch/microblaze/include/asm/processor.h | 3 ---
> 1 files changed, 0 insertions(+), 3 deletions(-)

Applied.

Thanks,
Michal

--
Michal Simek, Ing. (M.Eng)
w: http://www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian