diff options
Diffstat (limited to 'arch/x86/vdso')
| -rw-r--r-- | arch/x86/vdso/vclock_gettime.c | 3 | ||||
| -rw-r--r-- | arch/x86/vdso/vdso32-setup.c | 2 | ||||
| -rw-r--r-- | arch/x86/vdso/vma.c | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/arch/x86/vdso/vclock_gettime.c b/arch/x86/vdso/vclock_gettime.c index 1ef0f90813d6..d9d35824c56f 100644 --- a/arch/x86/vdso/vclock_gettime.c +++ b/arch/x86/vdso/vclock_gettime.c | |||
| @@ -9,6 +9,9 @@ | |||
| 9 | * Also alternative() doesn't work. | 9 | * Also alternative() doesn't work. |
| 10 | */ | 10 | */ |
| 11 | 11 | ||
| 12 | /* Disable profiling for userspace code: */ | ||
| 13 | #define DISABLE_BRANCH_PROFILING | ||
| 14 | |||
| 12 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
| 13 | #include <linux/posix-timers.h> | 16 | #include <linux/posix-timers.h> |
| 14 | #include <linux/time.h> | 17 | #include <linux/time.h> |
diff --git a/arch/x86/vdso/vdso32-setup.c b/arch/x86/vdso/vdso32-setup.c index 513f330c5832..1241f118ab56 100644 --- a/arch/x86/vdso/vdso32-setup.c +++ b/arch/x86/vdso/vdso32-setup.c | |||
| @@ -310,7 +310,7 @@ int __init sysenter_setup(void) | |||
| 310 | } | 310 | } |
| 311 | 311 | ||
| 312 | /* Setup a VMA at program startup for the vsyscall page */ | 312 | /* Setup a VMA at program startup for the vsyscall page */ |
| 313 | int arch_setup_additional_pages(struct linux_binprm *bprm, int exstack) | 313 | int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) |
| 314 | { | 314 | { |
| 315 | struct mm_struct *mm = current->mm; | 315 | struct mm_struct *mm = current->mm; |
| 316 | unsigned long addr; | 316 | unsigned long addr; |
diff --git a/arch/x86/vdso/vma.c b/arch/x86/vdso/vma.c index 257ba4a10abf..9c98cc6ba978 100644 --- a/arch/x86/vdso/vma.c +++ b/arch/x86/vdso/vma.c | |||
| @@ -98,7 +98,7 @@ static unsigned long vdso_addr(unsigned long start, unsigned len) | |||
| 98 | 98 | ||
| 99 | /* Setup a VMA at program startup for the vsyscall page. | 99 | /* Setup a VMA at program startup for the vsyscall page. |
| 100 | Not called for compat tasks */ | 100 | Not called for compat tasks */ |
| 101 | int arch_setup_additional_pages(struct linux_binprm *bprm, int exstack) | 101 | int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) |
| 102 | { | 102 | { |
| 103 | struct mm_struct *mm = current->mm; | 103 | struct mm_struct *mm = current->mm; |
| 104 | unsigned long addr; | 104 | unsigned long addr; |
