perf/x86: Remove get_hbp_len and replace with bp_len
authorJacob Shin <jacob.w.shin@gmail.com>
Thu, 29 May 2014 15:26:53 +0000 (17:26 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 3 Dec 2014 14:14:30 +0000 (15:14 +0100)
commit36748b9518a2437beffe861b47dff6d12b736b3f
treed824cb082a151a480ab4bacb0d838a2b1ac8f1c2
parentec32398c231a019d39017afee490728ab3b60b92
perf/x86: Remove get_hbp_len and replace with bp_len

Clean up the logic for determining the breakpoint length

Signed-off-by: Jacob Shin <jacob.w.shin@gmail.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: xiakaixu <xiakaixu@huawei.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
arch/x86/kernel/hw_breakpoint.c