diff options
author | Randy.Dunlap <rdunlap@xenotime.net> | 2006-01-11 20:17:46 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-12 02:42:13 (GMT) |
commit | c59ede7b78db329949d9cdcd7064e22d357560ef (patch) | |
tree | f9dc9d464fdad5bfd464d983e77c1af031389dda /include/linux/sched.h | |
parent | e16885c5ad624a6efe1b1bf764e075d75f65a788 (diff) | |
download | linux-fsl-qoriq-c59ede7b78db329949d9cdcd7064e22d357560ef.tar.xz |
[PATCH] move capable() to capability.h
- Move capable() from sched.h to capability.h;
- Use <linux/capability.h> where capable() is used
(in include/, block/, ipc/, kernel/, a few drivers/,
mm/, security/, & sound/;
many more drivers/ to go)
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 2ae8711..3b74c4b 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1112,10 +1112,6 @@ static inline int sas_ss_flags(unsigned long sp) : on_sig_stack(sp) ? SS_ONSTACK : 0); } - -/* code is in security.c or kernel/sys.c if !SECURITY */ -extern int capable(int cap); - /* * Routines for handling mm_structs */ |