Skip to content

Commit 01b8833

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc: sparc: fix array bounds error setting up PCIC NMI trap
2 parents 2c4ac99 + 4a0342c commit 01b8833

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/sparc/kernel/pcic.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ int __init pcic_probe(void)
352352
strcpy(pbm->prom_name, namebuf);
353353

354354
{
355-
extern volatile int t_nmi[1];
356-
extern int pcic_nmi_trap_patch[1];
355+
extern volatile int t_nmi[4];
356+
extern int pcic_nmi_trap_patch[4];
357357

358358
t_nmi[0] = pcic_nmi_trap_patch[0];
359359
t_nmi[1] = pcic_nmi_trap_patch[1];

0 commit comments

Comments
 (0)