s390/kprobes: use is_kernel() helper
authorKefeng Wang <wangkefeng.wang@huawei.com>
Sat, 26 Jun 2021 07:34:37 +0000 (15:34 +0800)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 5 Jul 2021 10:44:23 +0000 (12:44 +0200)
commit47f7c6cf0082e1d963d1761b6bc2a94480fc8671
tree38bef2e880e54c15fe5d6d973113c6b1b9f874b6
parent2bb919b62f6e5959552a90a399d09d683afa3d1d
s390/kprobes: use is_kernel() helper

Use is_kernel() helper instead of is_kernel_addr().

[hca@linux.ibm.com: add missing unsigned long cast]
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/kprobes.c