lkml.org 
[lkml]   [2006]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] do_no_pfn()
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/
\
 
 \ /
  Last update: 2006-09-20 18:01    [from the cache]
©2003-2011 Jasper Spaans