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

Commit 77c100c8 authored by Rik van Riel's avatar Rik van Riel Committed by Marcelo Tosatti
Browse files

export pid symbols needed for kvm_vcpu_on_spin



Export the symbols required for a race-free kvm_vcpu_on_spin.

Signed-off-by: default avatarRik van Riel <riel@redhat.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 4005996e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -193,6 +193,7 @@ void __put_task_struct(struct task_struct *tsk)
	if (!profile_handoff_task(tsk))
		free_task(tsk);
}
EXPORT_SYMBOL_GPL(__put_task_struct);

/*
 * macro override instead of weak attribute alias, to workaround
+2 −0
Original line number Diff line number Diff line
@@ -435,6 +435,7 @@ struct pid *get_task_pid(struct task_struct *task, enum pid_type type)
	rcu_read_unlock();
	return pid;
}
EXPORT_SYMBOL_GPL(get_task_pid);

struct task_struct *get_pid_task(struct pid *pid, enum pid_type type)
{
@@ -446,6 +447,7 @@ struct task_struct *get_pid_task(struct pid *pid, enum pid_type type)
	rcu_read_unlock();
	return result;
}
EXPORT_SYMBOL_GPL(get_pid_task);

struct pid *find_get_pid(pid_t nr)
{