aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kgdb.h
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2009-04-27 11:58:06 -0400
committerJason Wessel <jason.wessel@windriver.com>2010-05-20 22:04:25 -0400
commit98ec1878cacb393975cba64f7392eece81716cb4 (patch)
treee56110f645daf77ef0a6b3206926915f11d52e78 /include/linux/kgdb.h
parent84c08fd61e2d21702337e9fe366e97cdf09bf797 (diff)
kgdb: remove post_primary_code references
Remove all the references to the kgdb_post_primary_code. This function serves no useful purpose because you can obtain the same information from the "struct kgdb_state *ks" from with in the debugger, if for some reason you want the data. Also remove the unintentional duplicate assignment for ks->ex_vector. Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'include/linux/kgdb.h')
-rw-r--r--include/linux/kgdb.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/kgdb.h b/include/linux/kgdb.h
index 407edb1e0c4d..406f6f9286f3 100644
--- a/include/linux/kgdb.h
+++ b/include/linux/kgdb.h
@@ -36,20 +36,6 @@ struct pt_regs;
36extern int kgdb_skipexception(int exception, struct pt_regs *regs); 36extern int kgdb_skipexception(int exception, struct pt_regs *regs);
37 37
38/** 38/**
39 * kgdb_post_primary_code - (optional) Save error vector/code numbers.
40 * @regs: Original pt_regs.
41 * @e_vector: Original error vector.
42 * @err_code: Original error code.
43 *
44 * This is usually needed on architectures which support SMP and
45 * KGDB. This function is called after all the secondary cpus have
46 * been put to a know spin state and the primary CPU has control over
47 * KGDB.
48 */
49extern void kgdb_post_primary_code(struct pt_regs *regs, int e_vector,
50 int err_code);
51
52/**
53 * kgdb_disable_hw_debug - (optional) Disable hardware debugging hook 39 * kgdb_disable_hw_debug - (optional) Disable hardware debugging hook
54 * @regs: Current &struct pt_regs. 40 * @regs: Current &struct pt_regs.
55 * 41 *