Subject: port-sparc64/13859: fix kernel build problem
To: None <gnats-bugs@gnats.netbsd.org>
From: None <martti.kuparinen@iki.fi>
List: netbsd-bugs
Date: 09/03/2001 10:36:07
>Number:         13859
>Category:       port-sparc64
>Synopsis:       fix kernel build problem
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 03 03:58:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Martti Kuparinen
>Release:        1.5X 2001-09-03
>Organization:
>Environment:
System: NetBSD nevada 1.5X NetBSD 1.5X (GENERIC) #1: Wed Aug 22 22:58:29 EST 2001 mrg@powerofseven.eterna.com.au:/orb/a/obj.sparc64/usr/src/sys/arch/sparc64/compile/GENERIC sparc64
Architecture: sparc64
Machine: sparc64
>Description:

Fix size of intrhand[] or the compilation of kernel will fail.
This should have been fixed at the same time as
syssrc/sys/arch/sparc64/sparc64/intr.c

>How-To-Repeat:
	
>Fix:

Index: cpu.h
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/sparc64/include/cpu.h,v
retrieving revision 1.28
diff -u -r1.28 cpu.h
--- cpu.h	2001/06/14 22:56:58	1.28
+++ cpu.h	2001/09/03 10:53:54
@@ -222,7 +222,7 @@
 	volatile u_int64_t	*ih_map;	/* Interrupt map reg */
 	volatile u_int64_t	*ih_clr;	/* clear interrupt reg */
 };
-extern struct intrhand *intrhand[15];
+extern struct intrhand *intrhand[16];
 extern struct intrhand *intrlev[MAXINTNUM];
 
 void	intr_establish __P((int level, struct intrhand *));
>Release-Note:
>Audit-Trail:
>Unformatted: