From: Olaf Hering <olaf@aepfle.de>
To: linux-kernel@vger.kernel.org
Subject: CONFIG_SWAP=n failes to compile due to linux/pagemap.h issues
Date: Tue, 7 Aug 2007 20:28:40 +0200 [thread overview]
Message-ID: <20070807182840.GA30866@aepfle.de> (raw)
-Werror-implicit-function-declaration made it finally into mainline,
thats ok.
But now CONFIG_SWAP=n fails to compile, at least on powerpc:
include/asm-generic/tlb.h: In function 'tlb_flush_mmu':
include/asm-generic/tlb.h:76: error: implicit declaration of function 'release_pages'
include/asm-generic/tlb.h: In function 'tlb_remove_page':
include/asm-generic/tlb.h:105: error: implicit declaration of function 'page_cache_release'
tlb_flush_mmu() calls free_pages_and_swap_cache(),
which calls free_pages_and_swap_cache() in linux/swap.h
A commend was added to the free_pages_and_swap_cache define the last
time this issue came up. sparc can not use linux/pagemap.h in swap.h.
http://lkml.org/lkml/2005/7/8/140
http://lkml.org/lkml/2005/8/6/72
So, how can this be finally resolved?
Does CONFIG_SWAP=n compile anywhere right now?
google found a workaround(?), akpm queued it up: http://lkml.org/lkml/2007/7/19/14
reply other threads:[~2007-08-07 18:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20070807182840.GA30866@aepfle.de \
--to=olaf@aepfle.de \
--cc=linux-kernel@vger.kernel.org \
/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