diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-generic/kmap_types.h | 5 | ||||
-rw-r--r-- | include/linux/mm.h | 6 | ||||
-rw-r--r-- | include/linux/perf_counter.h | 1 |
3 files changed, 11 insertions, 1 deletions
diff --git a/include/asm-generic/kmap_types.h b/include/asm-generic/kmap_types.h index 54e8b3d956b7..eddbce0f9fb9 100644 --- a/include/asm-generic/kmap_types.h +++ b/include/asm-generic/kmap_types.h | |||
@@ -24,7 +24,10 @@ D(12) KM_SOFTIRQ1, | |||
24 | D(13) KM_SYNC_ICACHE, | 24 | D(13) KM_SYNC_ICACHE, |
25 | D(14) KM_SYNC_DCACHE, | 25 | D(14) KM_SYNC_DCACHE, |
26 | D(15) KM_UML_USERCOPY, /* UML specific, for copy_*_user - used in do_op_one_page */ | 26 | D(15) KM_UML_USERCOPY, /* UML specific, for copy_*_user - used in do_op_one_page */ |
27 | D(16) KM_TYPE_NR | 27 | D(16) KM_IRQ_PTE, |
28 | D(17) KM_NMI, | ||
29 | D(18) KM_NMI_PTE, | ||
30 | D(19) KM_TYPE_NR | ||
28 | }; | 31 | }; |
29 | 32 | ||
30 | #undef D | 33 | #undef D |
diff --git a/include/linux/mm.h b/include/linux/mm.h index d88d6fc530ad..cf260d848eb9 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -854,6 +854,12 @@ extern int mprotect_fixup(struct vm_area_struct *vma, | |||
854 | unsigned long end, unsigned long newflags); | 854 | unsigned long end, unsigned long newflags); |
855 | 855 | ||
856 | /* | 856 | /* |
857 | * doesn't attempt to fault and will return short. | ||
858 | */ | ||
859 | int __get_user_pages_fast(unsigned long start, int nr_pages, int write, | ||
860 | struct page **pages); | ||
861 | |||
862 | /* | ||
857 | * A callback you can register to apply pressure to ageable caches. | 863 | * A callback you can register to apply pressure to ageable caches. |
858 | * | 864 | * |
859 | * 'shrink' is passed a count 'nr_to_scan' and a 'gfpmask'. It should | 865 | * 'shrink' is passed a count 'nr_to_scan' and a 'gfpmask'. It should |
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index 1b3118a1023a..eccae437fe37 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h | |||
@@ -604,6 +604,7 @@ extern void perf_counter_task_tick(struct task_struct *task, int cpu); | |||
604 | extern int perf_counter_init_task(struct task_struct *child); | 604 | extern int perf_counter_init_task(struct task_struct *child); |
605 | extern void perf_counter_exit_task(struct task_struct *child); | 605 | extern void perf_counter_exit_task(struct task_struct *child); |
606 | extern void perf_counter_free_task(struct task_struct *task); | 606 | extern void perf_counter_free_task(struct task_struct *task); |
607 | extern void set_perf_counter_pending(void); | ||
607 | extern void perf_counter_do_pending(void); | 608 | extern void perf_counter_do_pending(void); |
608 | extern void perf_counter_print_debug(void); | 609 | extern void perf_counter_print_debug(void); |
609 | extern void __perf_disable(void); | 610 | extern void __perf_disable(void); |