aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/kernel/kgdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/kgdb.c b/arch/blackfin/kernel/kgdb.c
index 6e9af2985915..b163f6d3330d 100644
--- a/arch/blackfin/kernel/kgdb.c
+++ b/arch/blackfin/kernel/kgdb.c
@@ -110,7 +110,7 @@ void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs)
110 * Extracts ebp, esp and eip values understandable by gdb from the values 110 * Extracts ebp, esp and eip values understandable by gdb from the values
111 * saved by switch_to. 111 * saved by switch_to.
112 * thread.esp points to ebp. flags and ebp are pushed in switch_to hence esp 112 * thread.esp points to ebp. flags and ebp are pushed in switch_to hence esp
113 * prior to entering switch_to is 8 greater then the value that is saved. 113 * prior to entering switch_to is 8 greater than the value that is saved.
114 * If switch_to changes, change following code appropriately. 114 * If switch_to changes, change following code appropriately.
115 */ 115 */
116void sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *p) 116void sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *p)