]> git.karo-electronics.de Git - karo-tx-linux.git/commit
zsmalloc: use preempt.h for in_interrupt()
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Wed, 21 Oct 2015 22:03:28 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:28 +0000 (09:03 +1100)
commit740d33dba99987ee8c01707c14ccf68c1e99b51d
tree5e901bfcc5b2301d8e9125f367ac966f07fde639
parente713e03b5a52713b4c50f98a39a0b3dad7e66832
zsmalloc: use preempt.h for in_interrupt()

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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/zsmalloc.c