search for: privop_addr_counter

Displaying 2 results from an estimated 2 matches for "privop_addr_counter".

2007 Mar 27
0
[PATCH] make all performance counter per-cpu
...ers.privop_addr_##name##_count, \ - perfcounters.privop_addr_##name##_overflow \ + PERFC_privop_addr_##name##_addr, \ + PERFC_privop_addr_##name##_count, \ + PERFC_privop_addr_##name##_overflow \ }, -static struct privop_addr_count privop_addr_counter[] = { +static const struct privop_addr_info privop_addr_info[] = { #include <asm/perfc_defn.h> }; #define PRIVOP_COUNT_NINSTS \ - (sizeof(privop_addr_counter) / sizeof(privop_addr_counter[0])) + (sizeof(privop_addr_info) / sizeof(privop_addr_info[0])) + +static DEFINE_PER_C...
2009 Jul 15
0
[PATCH] rename for_each_cpu() to for_each_possible_cpu()
...10/xen/arch/ia64/xen/privop_stat.c 2009-07-15 10:00:01.000000000 +0200 @@ -65,7 +65,7 @@ void gather_privop_addrs(void) { unsigned int cpu; - for_each_cpu ( cpu ) { + for_each_possible_cpu ( cpu ) { perfc_t *perfcounters = per_cpu(perfcounters, cpu); struct privop_addr_count *s = per_cpu(privop_addr_counter, cpu); int i, j; @@ -92,7 +92,7 @@ void reset_privop_addrs(void) { unsigned int cpu; - for_each_cpu ( cpu ) { + for_each_possible_cpu ( cpu ) { struct privop_addr_count *v = per_cpu(privop_addr_counter, cpu); int i, j; --- 2009-07-10.orig/xen/arch/ia64/xen/xensetup.c 2009-07-10 08:5...