# HG changeset patch # User yamahata@xxxxxxxxxxxxx # Date 1161245275 -32400 # Node ID 08c5628a8d5c03242299287146aa06fb96518e01 # Parent 79b5aa23ba53eb1f88abed7b015486731f098efe increase xen side pmu constatns for motecito. PATCHNAME: increase_pmu_constatns_for_motecito Signed-off-by: Isaku Yamahata diff -r 79b5aa23ba53 -r 08c5628a8d5c xen/include/asm-ia64/linux-xen/asm/processor.h --- a/xen/include/asm-ia64/linux-xen/asm/processor.h Fri Oct 20 21:23:20 2006 +0900 +++ b/xen/include/asm-ia64/linux-xen/asm/processor.h Thu Oct 19 17:07:55 2006 +0900 @@ -28,8 +28,16 @@ * Limits for PMC and PMD are set to less than maximum architected values * but should be sufficient for a while */ +#ifdef XEN +// Those are increased at linux-2.6.16. Montecito requires 35PMDs. +// This ifdef will become unnecessary when this header file is +// upgraded to more than 2.6.16. +#define IA64_NUM_PMC_REGS 64 +#define IA64_NUM_PMD_REGS 64 +#else #define IA64_NUM_PMC_REGS 32 #define IA64_NUM_PMD_REGS 32 +#endif #define DEFAULT_MAP_BASE __IA64_UL_CONST(0x2000000000000000) #define DEFAULT_TASK_SIZE __IA64_UL_CONST(0xa000000000000000)