RE: [PATCH][6/7] perfctr-2.7.2 for 2.6.6-mm2: global-mode counters

From: Mikael Pettersson
Date: Sat May 15 2004 - 09:37:55 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/