aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/misc/kgdbts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/kgdbts.c b/drivers/misc/kgdbts.c
index 3aa9a969b373..36f5d52775a9 100644
--- a/drivers/misc/kgdbts.c
+++ b/drivers/misc/kgdbts.c
@@ -103,6 +103,7 @@
103#include <linux/delay.h> 103#include <linux/delay.h>
104#include <linux/kthread.h> 104#include <linux/kthread.h>
105#include <linux/module.h> 105#include <linux/module.h>
106#include <asm/sections.h>
106 107
107#define v1printk(a...) do { \ 108#define v1printk(a...) do { \
108 if (verbose) \ 109 if (verbose) \
@@ -222,6 +223,7 @@ static unsigned long lookup_addr(char *arg)
222 addr = (unsigned long)do_fork; 223 addr = (unsigned long)do_fork;
223 else if (!strcmp(arg, "hw_break_val")) 224 else if (!strcmp(arg, "hw_break_val"))
224 addr = (unsigned long)&hw_break_val; 225 addr = (unsigned long)&hw_break_val;
226 addr = (unsigned long) dereference_function_descriptor((void *)addr);
225 return addr; 227 return addr;
226} 228}
227 229