lkml.org 
[lkml]   [2005]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: RT patch breaks X86_64 build
Ingo Molnar wrote:
> indeed it was broken - i fixed x64 LATENCY_TRACE in the -47-16 kernel.

There's a minor bug in it. Syscalls are numbered from zero, so there's
__NR_syscall_max + 1 of them. Patch attached.
Nonetheless the latency tracing still doesn't work for me on x86_64. It
compiles but hotplug starts to segfault in an infinite loop during
booting up. When I disable CONFIG_LATENCY_TRACE, it works.

Michal
--- linux-RT.mich/kernel/latency.c.orig 2005-06-02 14:16:12.000000000 +0200
+++ linux-RT.mich/kernel/latency.c 2005-06-02 14:15:37.000000000 +0200
@@ -850,7 +850,7 @@ static int notrace l_show_cmdline(struct
}

#ifdef CONFIG_X86_64
-# define NR_syscalls __NR_syscall_max
+# define NR_syscalls (__NR_syscall_max+1)
#endif

extern unsigned long sys_call_table[NR_syscalls];
\
 
 \ /
  Last update: 2005-06-02 14:31    [from the cache]
©2003-2011 Jasper Spaans