lkml.org 
[lkml]   [2006]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -rt 2/2] arm update
On Thu, 18 May 2006, Daniel Walker wrote:

> On Thu, 2006-05-18 at 09:53 -0400, Nicolas Pitre wrote:
> > > - adds a new NR_syscalls macro, converts the old one into __NR_syscalls for
> > > calculating the table padding .
> >
> > Why?
> >
>
> > And no NR_syscalls definition should be present in asm-arm/unistd.h at
> > all.
> >
>
> Right , it's not normally needed .. In RT we size an array by
> NR_syscalls for latency tracing (kernel/latency.c) . So we need some way
> to determine the the number of syscalls .. Do you know of another way we
> can get that number of syscalls on ARM ?

Just do the same as in entry-common.S: define the CALL() macro and
include calls.S.

Or declare a global variable in entry-common.S and assign it the
NR_syscalls value.


Nicolas
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-18 17:28    [W:0.074 / U:1.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site