diff options
Diffstat (limited to 'include/linux/sched.h')
| -rw-r--r-- | include/linux/sched.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 8d4991be9d53..78efe7c485ac 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
| @@ -310,6 +310,7 @@ extern void sched_show_task(struct task_struct *p); | |||
| 310 | #ifdef CONFIG_DETECT_SOFTLOCKUP | 310 | #ifdef CONFIG_DETECT_SOFTLOCKUP |
| 311 | extern void softlockup_tick(void); | 311 | extern void softlockup_tick(void); |
| 312 | extern void touch_softlockup_watchdog(void); | 312 | extern void touch_softlockup_watchdog(void); |
| 313 | extern void touch_softlockup_watchdog_sync(void); | ||
| 313 | extern void touch_all_softlockup_watchdogs(void); | 314 | extern void touch_all_softlockup_watchdogs(void); |
| 314 | extern int proc_dosoftlockup_thresh(struct ctl_table *table, int write, | 315 | extern int proc_dosoftlockup_thresh(struct ctl_table *table, int write, |
| 315 | void __user *buffer, | 316 | void __user *buffer, |
| @@ -323,6 +324,9 @@ static inline void softlockup_tick(void) | |||
| 323 | static inline void touch_softlockup_watchdog(void) | 324 | static inline void touch_softlockup_watchdog(void) |
| 324 | { | 325 | { |
| 325 | } | 326 | } |
| 327 | static inline void touch_softlockup_watchdog_sync(void) | ||
| 328 | { | ||
| 329 | } | ||
| 326 | static inline void touch_all_softlockup_watchdogs(void) | 330 | static inline void touch_all_softlockup_watchdogs(void) |
| 327 | { | 331 | { |
| 328 | } | 332 | } |
| @@ -377,6 +381,8 @@ extern int sysctl_max_map_count; | |||
| 377 | 381 | ||
| 378 | #include <linux/aio.h> | 382 | #include <linux/aio.h> |
| 379 | 383 | ||
| 384 | #ifdef CONFIG_MMU | ||
| 385 | extern void arch_pick_mmap_layout(struct mm_struct *mm); | ||
| 380 | extern unsigned long | 386 | extern unsigned long |
| 381 | arch_get_unmapped_area(struct file *, unsigned long, unsigned long, | 387 | arch_get_unmapped_area(struct file *, unsigned long, unsigned long, |
| 382 | unsigned long, unsigned long); | 388 | unsigned long, unsigned long); |
| @@ -386,6 +392,9 @@ arch_get_unmapped_area_topdown(struct file *filp, unsigned long addr, | |||
| 386 | unsigned long flags); | 392 | unsigned long flags); |
| 387 | extern void arch_unmap_area(struct mm_struct *, unsigned long); | 393 | extern void arch_unmap_area(struct mm_struct *, unsigned long); |
| 388 | extern void arch_unmap_area_topdown(struct mm_struct *, unsigned long); | 394 | extern void arch_unmap_area_topdown(struct mm_struct *, unsigned long); |
| 395 | #else | ||
| 396 | static inline void arch_pick_mmap_layout(struct mm_struct *mm) {} | ||
| 397 | #endif | ||
| 389 | 398 | ||
| 390 | #if USE_SPLIT_PTLOCKS | 399 | #if USE_SPLIT_PTLOCKS |
| 391 | /* | 400 | /* |
| @@ -1364,7 +1373,7 @@ struct task_struct { | |||
| 1364 | char comm[TASK_COMM_LEN]; /* executable name excluding path | 1373 | char comm[TASK_COMM_LEN]; /* executable name excluding path |
| 1365 | - access with [gs]et_task_comm (which lock | 1374 | - access with [gs]et_task_comm (which lock |
| 1366 | it with task_lock()) | 1375 | it with task_lock()) |
| 1367 | - initialized normally by flush_old_exec */ | 1376 | - initialized normally by setup_new_exec */ |
| 1368 | /* file system info */ | 1377 | /* file system info */ |
| 1369 | int link_count, total_link_count; | 1378 | int link_count, total_link_count; |
| 1370 | #ifdef CONFIG_SYSVIPC | 1379 | #ifdef CONFIG_SYSVIPC |
| @@ -2491,8 +2500,6 @@ static inline void set_task_cpu(struct task_struct *p, unsigned int cpu) | |||
| 2491 | 2500 | ||
| 2492 | #endif /* CONFIG_SMP */ | 2501 | #endif /* CONFIG_SMP */ |
| 2493 | 2502 | ||
| 2494 | extern void arch_pick_mmap_layout(struct mm_struct *mm); | ||
| 2495 | |||
| 2496 | #ifdef CONFIG_TRACING | 2503 | #ifdef CONFIG_TRACING |
| 2497 | extern void | 2504 | extern void |
| 2498 | __trace_special(void *__tr, void *__data, | 2505 | __trace_special(void *__tr, void *__data, |
