The patch titled CRIS v10: kernel/time.c needs to include linux/vmstat.h to compile has been added to the -mm tree. Its filename is cris-v10-kernel-timec-needs-to-include-linux-vmstath-to-compile.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: CRIS v10: kernel/time.c needs to include linux/vmstat.h to compile From: Jesper Nilsson <jesper.nilsson@xxxxxxxx> 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 <jesper.nilsson@xxxxxxxx> Cc: Mikael Starvik <mikael.starvik@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/cris/arch-v10/kernel/time.c | 1 + 1 file changed, 1 insertion(+) diff -puN arch/cris/arch-v10/kernel/time.c~cris-v10-kernel-timec-needs-to-include-linux-vmstath-to-compile arch/cris/arch-v10/kernel/time.c --- a/arch/cris/arch-v10/kernel/time.c~cris-v10-kernel-timec-needs-to-include-linux-vmstath-to-compile +++ a/arch/cris/arch-v10/kernel/time.c @@ -13,6 +13,7 @@ #include <linux/swap.h> #include <linux/sched.h> #include <linux/init.h> +#include <linux/vmstat.h> #include <asm/arch/svinto.h> #include <asm/types.h> #include <asm/signal.h> _ Patches currently in -mm which might be from jesper.nilsson@xxxxxxxx are cris-v10-correct-do_signal-to-fix-oops-and-clean-up-signal-handling-in-general.patch cris-v10-kernel-timec-needs-to-include-linux-vmstath-to-compile.patch cris-v10-driver-for-ds1302-needs-to-include-cris-specific-i2ch.patch git-kbuild.patch git-mtd.patch cris-avoid-using-arch-links-in-kconfig.patch arch-cris-arch-v10-vmlinuxldss-fix-boot-problem.patch cris-remove-unused-__dummy-const_addr-and-addr-from-bitopsh.patch cris-define-__arch_want_sys_rt_sigsuspend-in-unistdh-for-cris.patch avoid-overflows-in-kernel-timec.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html