* [PATCH -next] sched: Remove unused extern ia64_set_curr_task()
@ 2024-07-31 10:27 Yue Haibing
2024-07-31 15:18 ` Gautham R.Shenoy
0 siblings, 1 reply; 2+ messages in thread
From: Yue Haibing @ 2024-07-31 10:27 UTC (permalink / raw)
To: mingo, peterz, juri.lelli, vincent.guittot, dietmar.eggemann,
rostedt, bsegall, mgorman, vschneid, kent.overstreet
Cc: linux-kernel, yuehaibing
Commit cf8e8658100d ("arch: Remove Itanium (IA-64) architecture")
remove the function but left this declaration.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
include/linux/sched.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 75138bf70da3..067b3a997299 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1852,7 +1852,6 @@ static __always_inline bool is_idle_task(const struct task_struct *p)
}
extern struct task_struct *curr_task(int cpu);
-extern void ia64_set_curr_task(int cpu, struct task_struct *p);
void yield(void);
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] sched: Remove unused extern ia64_set_curr_task()
2024-07-31 10:27 [PATCH -next] sched: Remove unused extern ia64_set_curr_task() Yue Haibing
@ 2024-07-31 15:18 ` Gautham R.Shenoy
0 siblings, 0 replies; 2+ messages in thread
From: Gautham R.Shenoy @ 2024-07-31 15:18 UTC (permalink / raw)
To: Yue Haibing, mingo, peterz, juri.lelli, vincent.guittot,
dietmar.eggemann, rostedt, bsegall, mgorman, vschneid,
kent.overstreet
Cc: linux-kernel, yuehaibing
Yue Haibing <yuehaibing@huawei.com> writes:
> Commit cf8e8658100d ("arch: Remove Itanium (IA-64) architecture")
> remove the function but left this declaration.
Yup. This declaration is no longer needed.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
FWIW,
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
> ---
> include/linux/sched.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/sched.h b/include/linux/sched.h
> index 75138bf70da3..067b3a997299 100644
> --- a/include/linux/sched.h
> +++ b/include/linux/sched.h
> @@ -1852,7 +1852,6 @@ static __always_inline bool is_idle_task(const struct task_struct *p)
> }
>
> extern struct task_struct *curr_task(int cpu);
> -extern void ia64_set_curr_task(int cpu, struct task_struct *p);
>
> void yield(void);
>
> --
> 2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-31 15:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-31 10:27 [PATCH -next] sched: Remove unused extern ia64_set_curr_task() Yue Haibing
2024-07-31 15:18 ` Gautham R.Shenoy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox