From: Luck, Tony Date: Mon, 20 Oct 2008 22:23:40 +0000 (-0700) Subject: kexec: fix crash_save_vmcoreinfo_init build problem X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5f41b8cdc6ef33b3432cee36264d628a80398362;p=openwrt%2Fstaging%2Fblogic.git kexec: fix crash_save_vmcoreinfo_init build problem This fixes kernel/kexec.c: In function 'crash_save_vmcoreinfo_init': kernel/kexec.c:1374: error: 'vmlist' undeclared (first use in this function) kernel/kexec.c:1374: error: (Each undeclared identifier is reported only once kernel/kexec.c:1374: error: for each function it appears in.) kernel/kexec.c:1410: error: invalid use of undefined type 'struct vm_struct' make[1]: *** [kernel/kexec.o] Error 1 Signed-off-by: Tony Luck Signed-off-by: Linus Torvalds --- diff --git a/kernel/kexec.c b/kernel/kexec.c index 777ac458ac99..ac0fde7b54d0 100644 --- a/kernel/kexec.c +++ b/kernel/kexec.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include