projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae1cc88
)
sched/headers: Remove unused 'task_can_switch_user()' prototype
author
Ingo Molnar
<
[email protected]
>
Thu, 2 Feb 2017 09:31:24 +0000
(10:31 +0100)
committer
Ingo Molnar
<
[email protected]
>
Fri, 3 Mar 2017 00:45:30 +0000
(
01:45
+0100)
The function does not exist anymore.
Acked-by: Linus Torvalds <
[email protected]
>
Cc: Mike Galbraith <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
include/linux/sched.h
patch
|
blob
|
history
diff --git
a/include/linux/sched.h
b/include/linux/sched.h
index bd89fc17767c1c5bf566ff659ccd86e7b6b7c6c0..43ed34ccb53a77202b531bafd0e3b9f90ad58838 100644
(file)
--- a/
include/linux/sched.h
+++ b/
include/linux/sched.h
@@
-1509,9
+1509,6
@@
static inline void set_task_cpu(struct task_struct *p, unsigned int cpu)
extern long sched_setaffinity(pid_t pid, const struct cpumask *new_mask);
extern long sched_getaffinity(pid_t pid, struct cpumask *mask);
-extern int task_can_switch_user(struct user_struct *up,
- struct task_struct *tsk);
-
#ifndef TASK_SIZE_OF
#define TASK_SIZE_OF(tsk) TASK_SIZE
#endif