From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by kanga.kvack.org (Postfix) with ESMTP id D58FF6B0253 for ; Wed, 14 Oct 2015 09:14:41 -0400 (EDT) Received: by padcn9 with SMTP id cn9so23449431pad.2 for ; Wed, 14 Oct 2015 06:14:41 -0700 (PDT) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com. [2607:f8b0:400e:c03::235]) by mx.google.com with ESMTPS id t8si13202038pbs.231.2015.10.14.06.14.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Oct 2015 06:14:41 -0700 (PDT) Received: by payp3 with SMTP id p3so6517622pay.1 for ; Wed, 14 Oct 2015 06:14:41 -0700 (PDT) From: Sergey Senozhatsky Subject: [PATCH] zsmalloc: use preempt.h for in_interrupt() Date: Wed, 14 Oct 2015 22:13:20 +0900 Message-Id: <1444828400-4067-1-git-send-email-sergey.senozhatsky@gmail.com> Sender: owner-linux-mm@kvack.org List-ID: To: Minchan Kim Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Sergey Senozhatsky , Sergey Senozhatsky A cosmetic change. Commit c60369f01125 ("staging: zsmalloc: prevent mappping in interrupt context") added in_interrupt() check to zs_map_object() and 'hardirq.h' include; but in_interrupt() macro is defined in 'preempt.h' not in 'hardirq.h', so include it instead. Signed-off-by: Sergey Senozhatsky --- mm/zsmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index 7ad5e54..4d5671d 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -58,7 +58,7 @@ #include #include #include -#include +#include #include #include #include -- 2.6.1.134.g4b1fd35 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org