mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-28 13:40:28 +00:00
rusty: Make lookup_task_ctx() static
It doesn't need to be a global prog. Let's make it static. Signed-off-by: David Vernet <void@manifault.com>
This commit is contained in:
parent
0ff73754cf
commit
885a9fd7da
@ -147,7 +147,7 @@ struct {
|
||||
__uint(map_flags, 0);
|
||||
} task_data SEC(".maps");
|
||||
|
||||
struct task_ctx *lookup_task_ctx(struct task_struct *p)
|
||||
static struct task_ctx *lookup_task_ctx(struct task_struct *p)
|
||||
{
|
||||
struct task_ctx *taskc;
|
||||
s32 pid = p->pid;
|
||||
|
Loading…
Reference in New Issue
Block a user