summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/resctrl
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2019-01-27 14:03:57 +0100
committerBorislav Petkov <bp@suse.de>2019-01-30 11:52:21 +0100
commitfab940755d1d78377901450b6ee7c77356e06821 (patch)
treeb59bde8b53edc00df68491e706d2e1ee451e2d83 /arch/x86/kernel/cpu/resctrl
parent0a278662f53159354a0391a17741a20db736256a (diff)
downloadlinux-fab940755d1d78377901450b6ee7c77356e06821.tar.bz2
x86/hw_breakpoints, kprobes: Remove kprobes ifdeffery
Remove the ifdeffery in the breakpoint parsing arch_build_bp_info() by adding a within_kprobe_blacklist() stub for the !CONFIG_KPROBES case. It is returning true when kprobes are not enabled to mean that any address is within the kprobes blacklist on such kernels and thus not allow kernel breakpoints on non-kprobes kernels. Signed-off-by: Borislav Petkov <bp@suse.de> Acked-by: Masami Hiramatsu <mhiramat@kernel.org> Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: Frederic Weisbecker <frederic@kernel.org> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: "Naveen N. Rao" <naveen.n.rao@linux.ibm.com> Cc: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/20190127131237.4557-1-bp@alien8.de
Diffstat (limited to 'arch/x86/kernel/cpu/resctrl')
0 files changed, 0 insertions, 0 deletions