Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1247346

Re: [PATCH] zsmalloc: use preempt.h for in_interrupt()

From Minchan Kim <minchan@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] zsmalloc: use preempt.h for in_interrupt()
Date 2015-10-15 04:30 +0200
Message-ID <qjGsO-10W-11@gated-at.bofh.it> (permalink)
References <qju8k-81e-57@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <sergey.senozhatsky@gmail.com>
Acked-by: Minchan Kim <minchan@kernel.org>
 
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] zsmalloc: use preempt.h for in_interrupt() Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2015-10-14 15:20 +0200
  Re: [PATCH] zsmalloc: use preempt.h for in_interrupt() Minchan Kim <minchan@kernel.org> - 2015-10-15 04:30 +0200

csiph-web