Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 27 Sep 2002 11:00:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 27 Sep 2002 11:00:02 -0400 Received: from phoenix.mvhi.com ([195.224.96.167]:8713 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id ; Fri, 27 Sep 2002 11:00:01 -0400 Date: Fri, 27 Sep 2002 16:05:20 +0100 From: Christoph Hellwig To: Andi Kleen Cc: linux-kernel@vger.kernel.org, torvalds@transmeta.com Subject: Re: [PATCH] Put modules into linear mapping Message-ID: <20020927160520.A27591@infradead.org> Mail-Followup-To: Christoph Hellwig , Andi Kleen , linux-kernel@vger.kernel.org, torvalds@transmeta.com References: <20020927140930.GA12610@averell> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020927140930.GA12610@averell>; from ak@muc.de on Fri, Sep 27, 2002 at 04:09:30PM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 485 Lines: 11 On Fri, Sep 27, 2002 at 04:09:30PM +0200, Andi Kleen wrote: > + unsigned long mptr = (unsigned long)mod; > + if (mptr >= VMALLOC_START && mptr+mod->size <= VMALLOC_END) Any chance you could add is is_vmalloc() macro to vmalloc.h for this? - 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/