All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix build error when CONFIG_SWAP is not set
@ 2011-01-24 12:08 ` Yoichi Yuasa
  0 siblings, 0 replies; 18+ messages in thread
From: Yoichi Yuasa @ 2011-01-24 12:08 UTC (permalink / raw)
  To: Andrew Morton; +Cc: yuasa, linux-mips, linux-mm, linux-kernel

In file included from
linux-2.6/arch/mips/include/asm/tlb.h:21,
                 from mm/pgtable-generic.c:9:
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'
make[1]: *** [mm/pgtable-generic.o] Error 1

Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
---
 include/linux/swap.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/swap.h b/include/linux/swap.h
index 4d55932..92c1be6 100644
--- a/include/linux/swap.h
+++ b/include/linux/swap.h
@@ -8,6 +8,7 @@
 #include <linux/memcontrol.h>
 #include <linux/sched.h>
 #include <linux/node.h>
+#include <linux/pagemap.h>
 
 #include <asm/atomic.h>
 #include <asm/page.h>
-- 
1.7.3.5

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-01-25 12:41 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-24 12:08 [PATCH] fix build error when CONFIG_SWAP is not set Yoichi Yuasa
2011-01-24 12:08 ` Yoichi Yuasa
2011-01-24 13:15 ` Ralf Baechle
2011-01-24 13:15   ` Ralf Baechle
2011-01-24 19:30 ` Sergei Shtylyov
2011-01-24 19:30   ` Sergei Shtylyov
2011-01-24 20:44   ` Andrew Morton
2011-01-24 20:44     ` Andrew Morton
2011-01-24 21:07     ` Sam Ravnborg
2011-01-24 21:07       ` Sam Ravnborg
2011-01-25  6:24       ` Geert Uytterhoeven
2011-01-25  6:24         ` Geert Uytterhoeven
2011-01-25  6:33         ` Andrew Morton
2011-01-25  6:33           ` Andrew Morton
2011-01-25  7:41           ` Sam Ravnborg
2011-01-25  7:41             ` Sam Ravnborg
2011-01-25 12:41           ` Ralf Baechle
2011-01-25 12:41             ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.