From: Jesper Nilsson Date: Mon, 14 Jan 2008 08:55:23 +0000 (-0800) Subject: CRIS v10: kernel/time.c needs to include linux/vmstat.h to compile X-Git-Tag: v2.6.24-rc8~18 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=d2d159dbd51a99abdd4ae02fecc68cd1e0b0558e;p=~shefty%2Frdma-dev.git 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(). Signed-off-by: Jesper Nilsson Cc: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/cris/arch-v10/kernel/time.c b/arch/cris/arch-v10/kernel/time.c index 5976f6199c4..9310a7b476e 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