From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: [PATCH V2 10/15] Make NR_EVTCHN_BUCKETS 3-level ready Date: Mon, 4 Feb 2013 17:23:53 +0000 Message-ID: <1359998638-16774-11-git-send-email-wei.liu2@citrix.com> References: <1359998638-16774-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1359998638-16774-1-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Wei Liu , ian.campbell@citrix.com, jbeulich@suse.com, david.vrabel@citrix.com List-Id: xen-devel@lists.xenproject.org Signed-off-by: Wei Liu --- xen/include/xen/event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/include/xen/event.h b/xen/include/xen/event.h index 4474296..9640a8c 100644 --- a/xen/include/xen/event.h +++ b/xen/include/xen/event.h @@ -37,7 +37,7 @@ __v;}) #define EVTCHNS_PER_BUCKET 512 -#define NR_EVTCHN_BUCKETS (NR_EVENT_CHANNELS / EVTCHNS_PER_BUCKET) +#define NR_EVTCHN_BUCKETS (NR_EVENT_CHANNELS_L3 / EVTCHNS_PER_BUCKET) /* N.B. EVTCHNS_PER_PAGE is always powers of 2, use shifts to optimize */ #define EVTCHNS_SHIFT (PAGE_SHIFT+BYTE_BITORDER) -- 1.7.10.4