Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757298AbYG0NoR (ORCPT ); Sun, 27 Jul 2008 09:44:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751701AbYG0NoD (ORCPT ); Sun, 27 Jul 2008 09:44:03 -0400 Received: from extu-mxob-2.symantec.com ([216.10.194.135]:60495 "EHLO extu-mxob-2.symantec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751518AbYG0NoB (ORCPT ); Sun, 27 Jul 2008 09:44:01 -0400 Date: Sun, 27 Jul 2008 14:43:38 +0100 (BST) From: Hugh Dickins X-X-Sender: hugh@blonde.site To: Andrew Morton cc: Adrian Bunk , Haavard Skinnemoen , Yoichi Yuasa , Ben Herrenschmidt , linux-kernel@vger.kernel.org Subject: [PATCH] exec: include pagemap.h again to fix build In-Reply-To: Message-ID: References: <1217092685-15267-1-git-send-email-haavard.skinnemoen@atmel.com> <20080726173832.GE9301@cs181140183.pp.htv.fi> <20080726125025.465d524b.akpm@linux-foundation.org> <20080726132610.6c583346.akpm@linux-foundation.org> <20080726204218.GG9301@cs181140183.pp.htv.fi> <20080727130410.GI9301@cs181140183.pp.htv.fi> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1592 Lines: 39 Fix compilation errors on avr32 and without CONFIG_SWAP, introduced by 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 This straightforward part-revert is nobody's favourite patch to address the underlying tlb.h needs swap.h needs pagemap.h (but sparc won't like that) mess; but appropriate to fix the build now before any overhaul. Reported-by: Yoichi Yuasa Reported-by: Haavard Skinnemoen Signed-off-by: Hugh Dickins Tested-by: Adrian Bunk --- fs/exec.c | 1 + 1 file changed, 1 insertion(+) --- 2.6.26-git/fs/exec.c 2008-07-26 12:33:28.000000000 +0100 +++ linux/fs/exec.c 2008-07-26 18:50:38.000000000 +0100 @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/