Re: [PATCH][1/8] Arch agnostic completely out of line locks / generic

From: Linus Torvalds
Date: Thu Sep 02 2004 - 20:32:16 EST




On Thu, 2 Sep 2004, Zwane Mwaikambo wrote:
>
> I'm a moron, unfortunately CONFIG_REGPARM saved my ass :/ The following
> works without CONFIG_REGPARM.

I really think you should have the __lockfunc define in only one place. If
I was a compiler, I'd complain about seeing different section attributes
on the definition than on the prototype.

Exactly why did you put the __lockfunc only on the definitions, and
something else on the declaration?

Linus
-
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/