mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nicolas Pitre <nico@cam.org>
To: Daniel Walker <dwalker@mvista.com>
Cc: mingo@elte.hu, tglx@linutronix.de, lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH -rt 2/2] arm update
Date: Thu, 18 May 2006 11:26:06 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0605181115490.18071@localhost.localdomain> (raw)
In-Reply-To: <1147962452.17117.25.camel@c-67-180-134-207.hsd1.ca.comcast.net>

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

      reply	other threads:[~2006-05-18 15:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-14 15:57 Daniel Walker
2006-05-18  8:06 ` Ingo Molnar
2006-05-18 13:53 ` Nicolas Pitre
2006-05-18 14:27   ` Daniel Walker
2006-05-18 15:26     ` Nicolas Pitre [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0605181115490.18071@localhost.localdomain \
    --to=nico@cam.org \
    --cc=dwalker@mvista.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®