From c476eab514cc9a62741239d7ef8e012868742cf5 Mon Sep 17 00:00:00 2001 From: Frederic Weisbecker Date: Sat, 27 Feb 2010 17:24:15 +0100 Subject: [PATCH] --- yaml --- r: 187836 b: refs/heads/master c: 3d083407a16698de86b42aee0da2ffb280b5cb7e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/x86/include/asm/hw_breakpoint.h | 1 - trunk/arch/x86/kernel/hw_breakpoint.c | 7 ------- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/[refs] b/[refs] index 30c2392822a1..e7044412552f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: dd8b1cf681eab40bc5afb67bdd06b2ca341f5669 +refs/heads/master: 3d083407a16698de86b42aee0da2ffb280b5cb7e diff --git a/trunk/arch/x86/include/asm/hw_breakpoint.h b/trunk/arch/x86/include/asm/hw_breakpoint.h index 0675a7c4c20e..2a1bd8f4f23a 100644 --- a/trunk/arch/x86/include/asm/hw_breakpoint.h +++ b/trunk/arch/x86/include/asm/hw_breakpoint.h @@ -10,7 +10,6 @@ * (display/resolving) */ struct arch_hw_breakpoint { - char *name; /* Contains name of the symbol to set bkpt */ unsigned long address; u8 len; u8 type; diff --git a/trunk/arch/x86/kernel/hw_breakpoint.c b/trunk/arch/x86/kernel/hw_breakpoint.c index dca2802c666f..41e08dff0161 100644 --- a/trunk/arch/x86/kernel/hw_breakpoint.c +++ b/trunk/arch/x86/kernel/hw_breakpoint.c @@ -343,13 +343,6 @@ int arch_validate_hwbkpt_settings(struct perf_event *bp, return ret; } - /* - * For kernel-addresses, either the address or symbol name can be - * specified. - */ - if (info->name) - info->address = (unsigned long) - kallsyms_lookup_name(info->name); /* * Check that the low-order bits of the address are appropriate * for the alignment implied by len.