[PATCH] include for CONFIG_SWAP=n
Milton Miller
miltonm at bga.com
Fri Jul 11 16:35:30 EST 2003
With CONFIG_SWAP=n, I get
In file included from include/asm/tlb.h:28,
from arch/ppc/mm/tlb.c:32:
include/asm-generic/tlb.h: In function `tlb_flush_mmu':
include/asm-generic/tlb.h:76: warning: implicit declaration of function `release_pages'
include/asm-generic/tlb.h: In function `tlb_remove_page':
include/asm-generic/tlb.h:111: warning: implicit declaration of function `page_cache_release'
One can argue for putting this somewhere generic, but I took the easy approach.
===== arch/ppc/mm/tlb.c 1.8 vs edited =====
--- 1.8/arch/ppc/mm/tlb.c Wed Jan 8 14:37:27 2003
+++ edited/arch/ppc/mm/tlb.c Fri Jul 11 01:16:55 2003
@@ -28,6 +28,7 @@
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/highmem.h>
+#include <linux/pagemap.h>
#include <asm/tlbflush.h>
#include <asm/tlb.h>
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list