From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752994AbaBNX67 (ORCPT ); Fri, 14 Feb 2014 18:58:59 -0500 Received: from smtp.outflux.net ([198.145.64.163]:49786 "EHLO smtp.outflux.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752779AbaBNX65 (ORCPT ); Fri, 14 Feb 2014 18:58:57 -0500 Date: Fri, 14 Feb 2014 15:58:50 -0800 From: Kees Cook To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Fengguang Wu , Arnd Bergmann Subject: [PATCH] lkdtm: include cacheflush.h Message-ID: <20140214235849.GA30703@www.outflux.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-HELO: www.outflux.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some architectures need cacheflush.h explicitly included (mips) for use of flush_icache_range(): config: make ARCH=mips allmodconfig All error/warnings: >> ERROR: "flush_icache_range" undefined! Reported-by: Fengguang Wu Signed-off-by: Kees Cook --- drivers/misc/lkdtm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/lkdtm.c b/drivers/misc/lkdtm.c index 47ed2d321351..2ebd52e05773 100644 --- a/drivers/misc/lkdtm.c +++ b/drivers/misc/lkdtm.c @@ -46,6 +46,7 @@ #include #include #include +#include #ifdef CONFIG_IDE #include -- 1.7.9.5 -- Kees Cook Chrome OS Security