diff options
| -rw-r--r-- | arch/x86/include/asm/hw_breakpoint.h | 1 | ||||
| -rw-r--r-- | arch/x86/kernel/hw_breakpoint.c | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/include/asm/hw_breakpoint.h b/arch/x86/include/asm/hw_breakpoint.h index 0675a7c4c20e..2a1bd8f4f23a 100644 --- a/arch/x86/include/asm/hw_breakpoint.h +++ b/arch/x86/include/asm/hw_breakpoint.h | |||
| @@ -10,7 +10,6 @@ | |||
| 10 | * (display/resolving) | 10 | * (display/resolving) |
| 11 | */ | 11 | */ |
| 12 | struct arch_hw_breakpoint { | 12 | struct arch_hw_breakpoint { |
| 13 | char *name; /* Contains name of the symbol to set bkpt */ | ||
| 14 | unsigned long address; | 13 | unsigned long address; |
| 15 | u8 len; | 14 | u8 len; |
| 16 | u8 type; | 15 | u8 type; |
diff --git a/arch/x86/kernel/hw_breakpoint.c b/arch/x86/kernel/hw_breakpoint.c index dca2802c666f..41e08dff0161 100644 --- a/arch/x86/kernel/hw_breakpoint.c +++ b/arch/x86/kernel/hw_breakpoint.c | |||
| @@ -344,13 +344,6 @@ int arch_validate_hwbkpt_settings(struct perf_event *bp, | |||
| 344 | } | 344 | } |
| 345 | 345 | ||
| 346 | /* | 346 | /* |
| 347 | * For kernel-addresses, either the address or symbol name can be | ||
| 348 | * specified. | ||
| 349 | */ | ||
| 350 | if (info->name) | ||
| 351 | info->address = (unsigned long) | ||
| 352 | kallsyms_lookup_name(info->name); | ||
| 353 | /* | ||
| 354 | * Check that the low-order bits of the address are appropriate | 347 | * Check that the low-order bits of the address are appropriate |
| 355 | * for the alignment implied by len. | 348 | * for the alignment implied by len. |
| 356 | */ | 349 | */ |
