From eeda0084419741016d32019bf535a94dbd5628e7 Mon Sep 17 00:00:00 2001 From: Jesper Nilsson <jespern@axis.com> Date: Tue, 30 Sep 2014 15:34:10 +0200 Subject: [PATCH] CRISv32: Add missing include for mm.h Fixes the following compile error. arch/cris/arch-v32/kernel/time.c: In function 'reset_watchdog': arch/cris/arch-v32/kernel/time.c:121:2: error: implicit declaration of function 'global_page_state' Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com> --- arch/cris/arch-v32/kernel/time.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/cris/arch-v32/kernel/time.c b/arch/cris/arch-v32/kernel/time.c index ee66866538f891..73745ce79f6c8b 100644 --- a/arch/cris/arch-v32/kernel/time.c +++ b/arch/cris/arch-v32/kernel/time.c @@ -14,6 +14,7 @@ #include <linux/init.h> #include <linux/threads.h> #include <linux/cpufreq.h> +#include <linux/mm.h> #include <asm/types.h> #include <asm/signal.h> #include <asm/io.h> -- GitLab