From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932672AbbJOCWA (ORCPT ); Wed, 14 Oct 2015 22:22:00 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:34124 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932486AbbJOCV6 (ORCPT ); Wed, 14 Oct 2015 22:21:58 -0400 Date: Thu, 15 Oct 2015 11:24:47 +0900 From: Minchan Kim To: Sergey Senozhatsky Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Sergey Senozhatsky Subject: Re: [PATCH] zsmalloc: use preempt.h for in_interrupt() Message-ID: <20151015022430.GA2840@bbox> References: <1444828400-4067-1-git-send-email-sergey.senozhatsky@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1444828400-4067-1-git-send-email-sergey.senozhatsky@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 14, 2015 at 10:13:20PM +0900, Sergey Senozhatsky wrote: > 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 Acked-by: Minchan Kim Thanks.