lkml.org 
[lkml]   [2004]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] fix mm/rmap.c build failure if CONFIG_SWAP is not defined (2.6.10-rc3-bk16)
Jesper Juhl <juhl-lkml@dif.dk> wrote:
>
> I just tried a allnoconfig build of 2.6.10-rc3-bk16, and it fails on
> mm/rmap.c since swap_token_default_timeout is not defined by
> include/linux/swap.h if CONFIG_SWAP is not defined.

yup. I have this queued up:

--- 25/include/linux/swap.h~fix-config_swap-n-build Thu Dec 23 14:34:08 2004
+++ 25-akpm/include/linux/swap.h Thu Dec 23 14:34:08 2004
@@ -269,6 +269,7 @@ static inline void put_swap_token(struct
#define move_from_swap_cache(p, i, m) 1
#define __delete_from_swap_cache(p) /*NOTHING*/
#define delete_from_swap_cache(p) /*NOTHING*/
+#define swap_token_default_timeout 0

static inline int remove_exclusive_swap_page(struct page *p)
{

-
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 14:09    [W:0.147 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site