Messages in this thread Patch in this message | | | Date | Thu, 23 Dec 2004 16:25:53 -0800 | From | Andrew Morton <> | Subject | Re: [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/
| |