]> xenbits.xensource.com Git - people/royger/linux-2.6.18-xen.git/commitdiff
xenoprofile: Hardcode MAX_VIRT_CPUS - not supplied by Xen public headers.
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 28 Dec 2009 09:42:49 +0000 (09:42 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 28 Dec 2009 09:42:49 +0000 (09:42 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
drivers/xen/xenoprof/xenoprofile.c

index f3331d77cfa548fe2cfdb6f9e588df0430896898..a3000120f6a65c3b3a531dbfc0ce4e7fe43800ff 100644 (file)
@@ -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];