From: Andrew Morton <akpm@osdl.org>
To: Jesper Juhl <juhl-lkml@dif.dk>
Cc: riel@conectiva.com.br, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fix mm/rmap.c build failure if CONFIG_SWAP is not defined (2.6.10-rc3-bk16)
Date: Thu, 23 Dec 2004 16:25:53 -0800 [thread overview]
Message-ID: <20041223162553.15783f1c.akpm@osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.61.0412240037211.3504@dragon.hygekrogen.localhost>
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)
{
prev parent reply other threads:[~2004-12-24 0:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-23 23:42 Jesper Juhl
2004-12-24 0:25 ` Andrew Morton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041223162553.15783f1c.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=juhl-lkml@dif.dk \
--cc=linux-kernel@vger.kernel.org \
--cc=riel@conectiva.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®