projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sparc: fix array bounds error setting up PCIC NMI trap
[deliverable/linux.git]
/
arch
/
sparc
/
kernel
/
pcic.c
diff --git
a/arch/sparc/kernel/pcic.c
b/arch/sparc/kernel/pcic.c
index a19f04195478a425d22a3da2264b8cf2aa3ce966..1aaf8c180be5d82544df54983ccaaa4ef5c7c071 100644
(file)
--- a/
arch/sparc/kernel/pcic.c
+++ b/
arch/sparc/kernel/pcic.c
@@
-352,8
+352,8
@@
int __init pcic_probe(void)
strcpy(pbm->prom_name, namebuf);
{
- extern volatile int t_nmi[
1
];
- extern int pcic_nmi_trap_patch[
1
];
+ extern volatile int t_nmi[
4
];
+ extern int pcic_nmi_trap_patch[
4
];
t_nmi[0] = pcic_nmi_trap_patch[0];
t_nmi[1] = pcic_nmi_trap_patch[1];
This page took
0.0246 seconds
and
5
git commands to generate.