Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 14 Oct 2002 16:31:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 14 Oct 2002 16:31:17 -0400 Received: from pcp810151pcs.nrockv01.md.comcast.net ([68.49.85.67]:29572 "EHLO zalem.puupuu.org") by vger.kernel.org with ESMTP id ; Mon, 14 Oct 2002 16:31:16 -0400 Date: Mon, 14 Oct 2002 16:37:07 -0400 From: Olivier Galibert To: "Richard B. Johnson" Cc: Daniele Lugli , linux-kernel@vger.kernel.org Subject: Re: unhappy with current.h Message-ID: <20021014163707.A2809@zalem.puupuu.org> Mail-Followup-To: Olivier Galibert , "Richard B. Johnson" , Daniele Lugli , linux-kernel@vger.kernel.org References: <3DAB1F00.667B82B5@inrete.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from root@chaos.analogic.com on Mon, Oct 14, 2002 at 04:33:50PM -0400 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 639 Lines: 16 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/