powerpc/perf: use is_kernel_addr macro in perf_get_misc_flags()
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>
Sat, 24 Dec 2016 06:05:49 +0000 (11:35 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 17 Feb 2017 10:48:55 +0000 (21:48 +1100)
commita2391b35f1d9d5b51d43a9150c7239253565d5a6
treef3e439262b1bca9031ca75943ee1dd4c4a11c051
parent78a16d9fc1206e1a484b6ac96348756f3846bfea
powerpc/perf: use is_kernel_addr macro in perf_get_misc_flags()

Cleanup to use is_kernel_addr macro.

Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/perf/core-book3s.c