X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fia64%2Fkernel%2Fperfmon_generic.h;h=67489478041e2bd1fba8b2e5217c70b43bf0dccf;hb=9213980e6a70d8473e0ffd4b39ab5b6caaba9ff5;hp=39aecdb2a99c233034e3a6c729017f35f1c44734;hpb=c449269f45c2cdf53af08c8d0af37472f66539d9;p=linux-2.6.git diff --git a/arch/ia64/kernel/perfmon_generic.h b/arch/ia64/kernel/perfmon_generic.h index 39aecdb2a..674894780 100644 --- a/arch/ia64/kernel/perfmon_generic.h +++ b/arch/ia64/kernel/perfmon_generic.h @@ -6,13 +6,6 @@ * Stephane Eranian */ - -#define RDEP(x) (1UL<<(x)) - -#if defined(CONFIG_ITANIUM) || defined (CONFIG_MCKINLEY) -#error "This file should not be used when CONFIG_ITANIUM or CONFIG_MCKINLEY is defined" -#endif - static pfm_reg_desc_t pfm_gen_pmc_desc[PMU_MAX_PMCS]={ /* pmc0 */ { PFM_REG_CONTROL , 0, 0x1UL, -1UL, NULL, NULL, {0UL,0UL, 0UL, 0UL}, {0UL,0UL, 0UL, 0UL}}, /* pmc1 */ { PFM_REG_CONTROL , 0, 0x0UL, -1UL, NULL, NULL, {0UL,0UL, 0UL, 0UL}, {0UL,0UL, 0UL, 0UL}}, @@ -40,10 +33,9 @@ static pfm_reg_desc_t pfm_gen_pmd_desc[PMU_MAX_PMDS]={ /* * impl_pmcs, impl_pmds are computed at runtime to minimize errors! */ -static pmu_config_t pmu_conf={ +static pmu_config_t pmu_conf_gen={ .pmu_name = "Generic", .pmu_family = 0xff, /* any */ - .enabled = 0, .ovfl_val = (1UL << 32) - 1, .num_ibrs = 0, /* does not use */ .num_dbrs = 0, /* does not use */