Messages in this thread | | | Date | Sat, 15 May 2004 16:36:51 +0200 (MEST) | From | Mikael Pettersson <> | Subject | RE: [PATCH][6/7] perfctr-2.7.2 for 2.6.6-mm2: global-mode counters |
| |
On Fri, 14 May 2004 17:51:35 -0700, Shai Fultheim wrote: >Can you use DEFINE_PER_CPU instead of: > >+static struct gperfctr per_cpu_gperfctr[NR_CPUS] __cacheline_aligned; > >?
Yes, I will make that change.
The driver used to be buildable as a module, and per_cpu() didn't (doesn't?) work in modules.
/Mikael - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |