public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] include/asm-generic/tlb.h must include <linux/pagemap.h>
@ 2008-07-26 17:18 Haavard Skinnemoen
  2008-07-26 17:38 ` [2.6 patch] linux/swap.h must #include <linux/pagemap.h> Adrian Bunk
  0 siblings, 1 reply; 15+ messages in thread
From: Haavard Skinnemoen @ 2008-07-26 17:18 UTC (permalink / raw)
  To: Andrew Morton, Hugh Dickins; +Cc: linux-kernel, Haavard Skinnemoen

This fixes the following compile error on avr32, introduced by
commit ba92a43dbaee339cf5915ef766d3d3ffbaaf103c
(exec: remove some includes):

In file included from include/asm/tlb.h:24,
                 from fs/exec.c:55:
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]: *** [fs/exec.o] Error 1

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
---
 include/asm-generic/tlb.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/asm-generic/tlb.h b/include/asm-generic/tlb.h
index f490e43..f85f3a2 100644
--- a/include/asm-generic/tlb.h
+++ b/include/asm-generic/tlb.h
@@ -13,6 +13,7 @@
 #ifndef _ASM_GENERIC__TLB_H
 #define _ASM_GENERIC__TLB_H
 
+#include <linux/pagemap.h>
 #include <linux/swap.h>
 #include <asm/pgalloc.h>
 #include <asm/tlbflush.h>
-- 
1.5.6.2


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

end of thread, other threads:[~2008-07-27 13:44 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-26 17:18 [PATCH] include/asm-generic/tlb.h must include <linux/pagemap.h> Haavard Skinnemoen
2008-07-26 17:38 ` [2.6 patch] linux/swap.h must #include <linux/pagemap.h> Adrian Bunk
2008-07-26 17:59   ` Johannes Weiner
2008-07-26 18:07     ` Adrian Bunk
2008-07-26 18:13   ` Hugh Dickins
2008-07-26 19:50     ` Andrew Morton
2008-07-26 20:15       ` Hugh Dickins
2008-07-26 20:26         ` Andrew Morton
2008-07-26 20:37           ` Hugh Dickins
2008-07-26 20:42             ` Adrian Bunk
2008-07-26 21:05               ` Hugh Dickins
2008-07-27 13:04                 ` Adrian Bunk
2008-07-27 13:40                   ` Hugh Dickins
2008-07-27 13:43                     ` [PATCH] exec: include pagemap.h again to fix build Hugh Dickins
2008-07-26 18:30   ` [2.6 patch] linux/swap.h must #include <linux/pagemap.h> Haavard Skinnemoen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox