Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <jesper.nilsson@axis.com>
Cc: Mikael Starvik <mikael.starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Jesper Nilsson and committed by
Linus Torvalds
d2d159db a4858d4d

+1
+1
arch/cris/arch-v10/kernel/time.c
··· 13 13 #include <linux/swap.h> 14 14 #include <linux/sched.h> 15 15 #include <linux/init.h> 16 + #include <linux/vmstat.h> 16 17 #include <asm/arch/svinto.h> 17 18 #include <asm/types.h> 18 19 #include <asm/signal.h>