* [patch] fix unlikely profiling & vsyscalls on x86_64
@ 2006-05-04 13:10 Ingo Molnar
2006-05-04 13:20 ` Andi Kleen
0 siblings, 1 reply; 2+ messages in thread
From: Ingo Molnar @ 2006-05-04 13:10 UTC (permalink / raw)
To: Andrew Morton; +Cc: Andi Kleen, dwalker, linux-kernel
fix unlikely profiling in vsyscalls ...
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
arch/x86_64/kernel/vsyscall.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: linux/arch/x86_64/kernel/vsyscall.c
===================================================================
--- linux.orig/arch/x86_64/kernel/vsyscall.c
+++ linux/arch/x86_64/kernel/vsyscall.c
@@ -107,7 +107,7 @@ static __always_inline long time_syscall
int __vsyscall(0) vgettimeofday(struct timeval * tv, struct timezone * tz)
{
- if (unlikely(!__sysctl_vsyscall))
+ if (!__sysctl_vsyscall)
return gettimeofday(tv,tz);
if (tv)
do_vgettimeofday(tv);
@@ -120,7 +120,7 @@ int __vsyscall(0) vgettimeofday(struct t
* unlikely */
time_t __vsyscall(1) vtime(time_t *t)
{
- if (unlikely(!__sysctl_vsyscall))
+ if (!__sysctl_vsyscall)
return time_syscall(t);
else if (t)
*t = __xtime.tv_sec;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch] fix unlikely profiling & vsyscalls on x86_64
2006-05-04 13:10 [patch] fix unlikely profiling & vsyscalls on x86_64 Ingo Molnar
@ 2006-05-04 13:20 ` Andi Kleen
0 siblings, 0 replies; 2+ messages in thread
From: Andi Kleen @ 2006-05-04 13:20 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Andrew Morton, dwalker, linux-kernel
On Thursday 04 May 2006 15:10, Ingo Molnar wrote:
> fix unlikely profiling in vsyscalls ...
Applied thanks
-Andi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-04 13:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-04 13:10 [patch] fix unlikely profiling & vsyscalls on x86_64 Ingo Molnar
2006-05-04 13:20 ` Andi Kleen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.