Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c0f8ab0 authored by Paul Burton's avatar Paul Burton Committed by Ralf Baechle
Browse files

MIPS: clean up resume declaration



This patch cleans up the declaration of the resume function by replacing
void pointers with their correct types. The irrelevant & incorrect
comment preceeding the resume function is replaced by one documenting
its function.

Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
Reviewed-by: default avatarQais Yousef <qais.yousef@imgtec.com>
Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6146/
parent f0c0c2a8
Loading
Loading
Loading
Loading
+12 −4
Original line number Original line Diff line number Diff line
@@ -19,11 +19,19 @@


struct task_struct;
struct task_struct;


/*
/**
 * switch_to(n) should switch tasks to task nr n, first
 * resume - resume execution of a task
 * checking that n isn't the current task, in which case it does nothing.
 * @prev:	The task previously executed.
 * @next:	The task to begin executing.
 * @next_ti:	task_thread_info(next).
 * @usedfpu:	Non-zero if prev's FP context should be saved.
 *
 * This function is used whilst scheduling to save the context of prev & load
 * the context of next. Returns prev.
 */
 */
extern asmlinkage void *resume(void *last, void *next, void *next_ti, u32 __usedfpu);
extern asmlinkage struct task_struct *resume(struct task_struct *prev,
		struct task_struct *next, struct thread_info *next_ti,
		u32 usedfpu);


extern unsigned int ll_bit;
extern unsigned int ll_bit;
extern struct task_struct *ll_task;
extern struct task_struct *ll_task;