lkml.org 
[lkml]   [2003]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Missing include in swap.h for some architectures
"Noah J. Misch" <noah@caltech.edu> wrote:
>
> # The linux/swap.h header uses the page_cache_release and release_pages
> # functions declared in linux/pagemap.h when CONFIG_SWAP is disabled. Add
> # an include of linux/pagemap.h so swap.h finds those declarations on
> # architectures that don't include pagemap.h indirectly.

This carries a small risk of breaking things. I think I'd prefer that the
offending .c files just include pagemap.h please.

-
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: 2005-03-22 13:58    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site