summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-02-13 14:09:03 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-02-14 14:22:11 +0900
commitbb7de070d2cf11f92341c40cd1810e8eebfbcbf8 (patch)
treebe8b351baee7947f82dfb66d93aa4c6b2614719a /security
parentc2f4d36640947ddd13af7a2c36d197eb9fe5280a (diff)
downloadop-kernel-dev-bb7de070d2cf11f92341c40cd1810e8eebfbcbf8.zip
op-kernel-dev-bb7de070d2cf11f92341c40cd1810e8eebfbcbf8.tar.gz
sh: asm/tlb.h needs linux/pagemap.h for CONFIG_SWAP=n.
linux/swap.h really wants to include linux/pagemap.h in order to satisfy the page_cache_release()/release_pages() definition requirements when CONFIG_SWAP=n. Unfortunately the code in question contains: /* only sparc can not include linux/pagemap.h in this file * so leave page_cache_release and release_pages undeclared... */ #define free_page_and_swap_cache(page) \ page_cache_release(page) #define free_pages_and_swap_cache(pages, nr) \ release_pages((pages), (nr), 0); so it looks like we're stuck with doing it in asm/tlb.h instead, as others already do (ARM, CRIS, etc.). Grumble. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud