diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mm.h | 3 | ||||
| -rw-r--r-- | include/linux/sched.h | 9 |
2 files changed, 4 insertions, 8 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index bff1f0d475c7..64d8ed2538ae 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | #include <linux/prio_tree.h> | 13 | #include <linux/prio_tree.h> |
| 14 | #include <linux/debug_locks.h> | 14 | #include <linux/debug_locks.h> |
| 15 | #include <linux/mm_types.h> | 15 | #include <linux/mm_types.h> |
| 16 | #include <linux/sched.h> | ||
| 16 | 17 | ||
| 17 | struct mempolicy; | 18 | struct mempolicy; |
| 18 | struct anon_vma; | 19 | struct anon_vma; |
| @@ -1321,6 +1322,6 @@ void vmemmap_populate_print_last(void); | |||
| 1321 | 1322 | ||
| 1322 | extern void *alloc_locked_buffer(size_t size); | 1323 | extern void *alloc_locked_buffer(size_t size); |
| 1323 | extern void free_locked_buffer(void *buffer, size_t size); | 1324 | extern void free_locked_buffer(void *buffer, size_t size); |
| 1324 | extern void release_locked_buffer(void *buffer, size_t size); | 1325 | extern void refund_locked_buffer_memory(struct mm_struct *mm, size_t size); |
| 1325 | #endif /* __KERNEL__ */ | 1326 | #endif /* __KERNEL__ */ |
| 1326 | #endif /* _LINUX_MM_H */ | 1327 | #endif /* _LINUX_MM_H */ |
diff --git a/include/linux/sched.h b/include/linux/sched.h index a5b9a83065fa..52b8cd049c2e 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
| @@ -96,8 +96,8 @@ struct exec_domain; | |||
| 96 | struct futex_pi_state; | 96 | struct futex_pi_state; |
| 97 | struct robust_list_head; | 97 | struct robust_list_head; |
| 98 | struct bio; | 98 | struct bio; |
| 99 | struct bts_tracer; | ||
| 100 | struct fs_struct; | 99 | struct fs_struct; |
| 100 | struct bts_context; | ||
| 101 | 101 | ||
| 102 | /* | 102 | /* |
| 103 | * List of flags we want to share for kernel threads, | 103 | * List of flags we want to share for kernel threads, |
| @@ -1210,12 +1210,7 @@ struct task_struct { | |||
| 1210 | * This is the tracer handle for the ptrace BTS extension. | 1210 | * This is the tracer handle for the ptrace BTS extension. |
| 1211 | * This field actually belongs to the ptracer task. | 1211 | * This field actually belongs to the ptracer task. |
| 1212 | */ | 1212 | */ |
| 1213 | struct bts_tracer *bts; | 1213 | struct bts_context *bts; |
| 1214 | /* | ||
| 1215 | * The buffer to hold the BTS data. | ||
| 1216 | */ | ||
| 1217 | void *bts_buffer; | ||
| 1218 | size_t bts_size; | ||
| 1219 | #endif /* CONFIG_X86_PTRACE_BTS */ | 1214 | #endif /* CONFIG_X86_PTRACE_BTS */ |
| 1220 | 1215 | ||
| 1221 | /* PID/PID hash table linkage. */ | 1216 | /* PID/PID hash table linkage. */ |
