Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751687AbWITP6l (ORCPT ); Wed, 20 Sep 2006 11:58:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751688AbWITP6l (ORCPT ); Wed, 20 Sep 2006 11:58:41 -0400 Received: from xenotime.net ([66.160.160.81]:51122 "HELO xenotime.net") by vger.kernel.org with SMTP id S1751643AbWITP6k (ORCPT ); Wed, 20 Sep 2006 11:58:40 -0400 Date: Wed, 20 Sep 2006 08:46:38 -0700 From: "Randy.Dunlap" To: Jes Sorensen Cc: Linus Torvalds , Linux Kernel Mailing List , bjorn_helgaas@hp.com, Nick Piggin , Andrew Morton , Robin Holt , Dean Nelson , Hugh Dickins Subject: Re: [patch] do_no_pfn() Message-Id: <20060920084638.900c9a69.rdunlap@xenotime.net> In-Reply-To: References: Organization: YPO4 X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.10; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1026 Lines: 33 On 20 Sep 2006 03:25:25 -0400 Jes Sorensen wrote: > include/linux/mm.h | 7 +++++ > mm/memory.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++----- > 2 files changed, 64 insertions(+), 5 deletions(-) > > Index: linux-2.6/include/linux/mm.h > =================================================================== > --- linux-2.6.orig/include/linux/mm.h > +++ linux-2.6/include/linux/mm.h > @@ -625,6 +626,12 @@ static inline int page_mapped(struct pag > #define NOPAGE_OOM ((struct page *) (-1)) > > /* > + * Error return values for the *_nopfn functions > + */ > +#define NOPFN_SIGBUS ((unsigned long) -1) > +#define NOPFN_OOM ((unsigned long) -2) Is there any difference in the above and #define NOPFN_SIGBUS -1UL #define NOPFN_OOM -2UL ? --- ~Randy - 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/