ia64/xen-unstable

changeset 12627:d5a48cfc1db2

[IA64] increase xen side pmu constatns for motecito.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@xenbuild.aw
date Tue Nov 28 11:31:45 2006 -0700 (2006-11-28)
parents dc614bb5b0e8
children 112e0e3b4852
files xen/include/asm-ia64/linux-xen/asm/processor.h
line diff
     1.1 --- a/xen/include/asm-ia64/linux-xen/asm/processor.h	Tue Nov 28 11:26:14 2006 -0700
     1.2 +++ b/xen/include/asm-ia64/linux-xen/asm/processor.h	Tue Nov 28 11:31:45 2006 -0700
     1.3 @@ -28,8 +28,18 @@
     1.4   * Limits for PMC and PMD are set to less than maximum architected values
     1.5   * but should be sufficient for a while
     1.6   */
     1.7 +#ifdef XEN
     1.8 +/*
     1.9 + * These are increased in linux-2.6.16. Montecito requires 35PMDs.
    1.10 + * This ifdef will become unnecessary when this header file is
    1.11 + * upgraded to 2.6.16 or newer.
    1.12 + */
    1.13 +#define IA64_NUM_PMC_REGS	64
    1.14 +#define IA64_NUM_PMD_REGS	64
    1.15 +#else
    1.16  #define IA64_NUM_PMC_REGS	32
    1.17  #define IA64_NUM_PMD_REGS	32
    1.18 +#endif
    1.19  
    1.20  #define DEFAULT_MAP_BASE	__IA64_UL_CONST(0x2000000000000000)
    1.21  #define DEFAULT_TASK_SIZE	__IA64_UL_CONST(0xa000000000000000)