Re: [PATCH 2/5] percpu struct members.

From: Rusty Russell (
Date: Mon Jul 21 2003 - 16:27:41 EST

In message <> you write:
> Rusty Russell wrote:
> > The current percpu macros do not allow __get_cpu_var(foo.val1)
> > which makes building macros on top of them really difficult.
> What's the problem with __get_cpu_var(foo).val1 ?

Nothing: that will still work, too. But not say you have a macro (as
we do in local_t):


if cpuvar is a struct, you want this to work:


Hope that helps,

  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:45 EST