[PATCH] CRIS v10: kernel/time.c needs to include linux/vmstat.h to compile.

2008-01-11 Thread Jesper Nilsson
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

[PATCH] CRIS v10: kernel/time.c needs to include linux/vmstat.h to compile.

2008-01-11 Thread Jesper Nilsson
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