mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
proc: move /proc/schedstat boilerplate to kernel/sched_stats.h
Signed-off-by: Alexey Dobriyan <[email protected]>
This commit is contained in:
parent
3b5d5c6b0c
commit
b5aadf7f14
4 changed files with 9 additions and 8 deletions
|
|
@ -195,9 +195,6 @@ void __init proc_misc_init(void)
|
|||
proc_symlink("mounts", NULL, "self/mounts");
|
||||
|
||||
/* And now for trickier ones */
|
||||
#ifdef CONFIG_SCHEDSTATS
|
||||
proc_create("schedstat", 0, NULL, &proc_schedstat_operations);
|
||||
#endif
|
||||
#ifdef CONFIG_PROC_KCORE
|
||||
proc_root_kcore = proc_create("kcore", S_IRUSR, NULL, &proc_kcore_operations);
|
||||
if (proc_root_kcore)
|
||||
|
|
|
|||
Loading…
Reference in a new issue