[lkml]   [2005]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
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.

--- 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)

extern unsigned long sys_call_table[NR_syscalls];
 \ /
  Last update: 2005-06-02 14:31    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean