Subject: CVS commit: src/sys/arch/sparc64/include
To: None <source-changes@netbsd.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 01/21/2003 21:46:50
Module Name:	src
Committed By:	martin
Date:		Tue Jan 21 19:46:50 UTC 2003

Modified Files:
	src/sys/arch/sparc64/include: trap.h

Log Message:
Rename the DIV0 traps to avoid confusion with the usage on the sparc
port: T_IDIV0 is the hardware trap generated on integer division by
zero, T_DIV0 is the software trap used to signal the same event.

This makes 32 bit kernels able to run sparc code with the v7 multiply/
divide library.

Spotted by Valeriy E. Ushakov.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/sys/arch/sparc64/include/trap.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.