# HG changeset patch # User yamahata@xxxxxxxxxxxxx # Date 1161840445 -32400 # Node ID db608db1c300c00e7fb309e10f16b90add78b798 # Parent d1ab7aa092070c9351bc54e601b249110869a59a increase xen side pmu constatns for motecito. PATCHNAME: increase_pmu_constatns_for_motecito Signed-off-by: Isaku Yamahata diff -r d1ab7aa09207 -r db608db1c300 xen/include/asm-ia64/linux-xen/asm/processor.h --- a/xen/include/asm-ia64/linux-xen/asm/processor.h Thu Oct 26 14:26:36 2006 +0900 +++ b/xen/include/asm-ia64/linux-xen/asm/processor.h Thu Oct 26 14:27:25 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)