projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b68233e
)
Blackfin: kgdb_test: make sure to initialize num2
author
Vivi Li
<vivi.li@analog.com>
Wed, 17 Nov 2010 04:26:19 +0000
(
04:26
+0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Mon, 10 Jan 2011 12:18:23 +0000
(07:18 -0500)
We check its value at runtime, so we want to avoid garbage across runs.
Signed-off-by: Vivi Li <vivi.li@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/kgdb_test.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/blackfin/kernel/kgdb_test.c
b/arch/blackfin/kernel/kgdb_test.c
index 08c0236acf3c5ab903d5e863b17f8290bd4a8e7a..2a6e9dbb62a5d9eeb28e15f5817136058764bdc4 100644
(file)
--- a/
arch/blackfin/kernel/kgdb_test.c
+++ b/
arch/blackfin/kernel/kgdb_test.c
@@
-95,6
+95,10
@@
static int __init kgdbtest_init(void)
{
struct proc_dir_entry *entry;
+#if L2_LENGTH
+ num2 = 0;
+#endif
+
entry = proc_create("kgdbtest", 0, NULL, &kgdb_test_proc_fops);
if (entry == NULL)
return -ENOMEM;