diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 10bff55b0824..8478f334d732 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -680,10 +680,6 @@ struct sched_info { | |||
680 | }; | 680 | }; |
681 | #endif /* defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) */ | 681 | #endif /* defined(CONFIG_SCHEDSTATS) || defined(CONFIG_TASK_DELAY_ACCT) */ |
682 | 682 | ||
683 | #ifdef CONFIG_SCHEDSTATS | ||
684 | extern const struct file_operations proc_schedstat_operations; | ||
685 | #endif /* CONFIG_SCHEDSTATS */ | ||
686 | |||
687 | #ifdef CONFIG_TASK_DELAY_ACCT | 683 | #ifdef CONFIG_TASK_DELAY_ACCT |
688 | struct task_delay_info { | 684 | struct task_delay_info { |
689 | spinlock_t lock; | 685 | spinlock_t lock; |
@@ -1345,6 +1341,12 @@ struct task_struct { | |||
1345 | int latency_record_count; | 1341 | int latency_record_count; |
1346 | struct latency_record latency_record[LT_SAVECOUNT]; | 1342 | struct latency_record latency_record[LT_SAVECOUNT]; |
1347 | #endif | 1343 | #endif |
1344 | /* | ||
1345 | * time slack values; these are used to round up poll() and | ||
1346 | * select() etc timeout values. These are in nanoseconds. | ||
1347 | */ | ||
1348 | unsigned long timer_slack_ns; | ||
1349 | unsigned long default_timer_slack_ns; | ||
1348 | }; | 1350 | }; |
1349 | 1351 | ||
1350 | /* | 1352 | /* |