Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762368AbYAKTDN (ORCPT ); Fri, 11 Jan 2008 14:03:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761639AbYAKTC6 (ORCPT ); Fri, 11 Jan 2008 14:02:58 -0500 Received: from miranda.se.axis.com ([193.13.178.8]:51166 "EHLO miranda.se.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761580AbYAKTC5 (ORCPT ); Fri, 11 Jan 2008 14:02:57 -0500 Date: Fri, 11 Jan 2008 20:02:47 +0100 From: Jesper Nilsson To: Andrew Morton , Mikael Starvik , Jesper Nilsson , linux-kernel@vger.kernel.org Subject: [PATCH] CRIS v10: kernel/time.c needs to include linux/vmstat.h to compile. Message-ID: <20080111190247.GG27482@axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1200 Lines: 39 CRIS v10: kernel/time.c needs to include linux/vmstat.h to compile. This fixes compile error when nr_free_pages() from linux/swap.h expands to global_page_state(NR_FREE_PAGES), but linux/vmstat.h isn't included to declare global_page_state(). --- It seems that most often vmstat.h is not included directly. Should it perhaps be mm.h that is included instead? arch/cris/arch-v10/kernel/time.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/cris/arch-v10/kernel/time.c b/arch/cris/arch-v10/kernel/time.c index 5976f61..525483f 100644 --- a/arch/cris/arch-v10/kernel/time.c +++ b/arch/cris/arch-v10/kernel/time.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include -- 1.5.3.6.970.gd25430 /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nilsson@axis.com -- 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/