All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kaushik Bhandankar <kaushikb@cc.gatech.edu>
To: xen-devel@lists.xensource.com
Subject: Re: NR_GRANT_ENTRIES definition ??
Date: Wed, 14 Nov 2007 12:33:24 -0500	[thread overview]
Message-ID: <473B3164.4090804@cc.gatech.edu> (raw)
In-Reply-To: <473A5EB9.80805@cc.gatech.edu>

kaushikb wrote:
> I need to use NR_GRANT_ENTRIES in xen/common/grant_table.c but couldnt 
> find its definition anywhere... grepping could see that 
> INITIAL_NR_GRANT_ENTRIES (but not NR_GRANT_ENTRIES) is defined in 
> xen/include/xen/grant_table.h whereas NR_GRANT_ENTRIES (and 
> NR_GRANT_FRAMES) is defined instead in extras/mini-os/gnttab.c
> 
> Do I need to copy the NR_GRANT_ENTRIES and NR_GRANT_FRAMES definitions 
> from extras/mini-os/gnttab.c to xen/include/xen/grant_table.h ?
> 
> -Kaushik
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

got it... use
nr_grant_entries(rd->grant_table)) instead of NR_GRANT_ENTRIES .. should 
have known this earlier.. :)

-Kaushik

      reply	other threads:[~2007-11-14 17:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-14  2:34 NR_GRANT_ENTRIES definition ?? kaushikb
2007-11-14 17:33 ` Kaushik Bhandankar [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=473B3164.4090804@cc.gatech.edu \
    --to=kaushikb@cc.gatech.edu \
    --cc=xen-devel@lists.xensource.com \
    /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 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.