Re: unhappy with current.h

From: Olivier Galibert (galibert@pobox.com)
Date: Mon Oct 14 2002 - 15:37:07 EST


On Mon, Oct 14, 2002 at 04:33:50PM -0400, Richard B. Johnson wrote:
> > #define current get_current()

> This cannot be the reason for your problem. The name of a structure
> member has no connection whatsoever with the name of any function or
> definition.

You forgot the effect of the parenthesis. This isn't a name-changing
macro, this is a variable-to-function-call changing macro.

  OG.
-
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/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:51 EST