From: Keir Fraser Date: Mon, 28 Dec 2009 09:42:49 +0000 (+0000) Subject: xenoprofile: Hardcode MAX_VIRT_CPUS - not supplied by Xen public headers. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=01bd7999bcf9121dcab346deac2ee438295b8837;p=legacy%2Flinux-2.6.18-xen.git xenoprofile: Hardcode MAX_VIRT_CPUS - not supplied by Xen public headers. Signed-off-by: Keir Fraser --- diff --git a/drivers/xen/xenoprof/xenoprofile.c b/drivers/xen/xenoprof/xenoprofile.c index f3331d77..a3000120 100644 --- a/drivers/xen/xenoprof/xenoprofile.c +++ b/drivers/xen/xenoprof/xenoprofile.c @@ -33,6 +33,7 @@ #include "../../../drivers/oprofile/event_buffer.h" #define MAX_XENOPROF_SAMPLES 16 +#define MAX_VIRT_CPUS 128 /* sample buffers shared with Xen */ static xenoprof_buf_t *xenoprof_buf[MAX_VIRT_CPUS];