Subject: CVS commit: src/sys/arch/sh3
To: None <source-changes@NetBSD.org>
From: Valeriy E. Ushakov <uwe@netbsd.org>
List: source-changes
Date: 10/18/2003 23:21:35
Module Name:	src
Committed By:	uwe
Date:		Sat Oct 18 23:21:35 UTC 2003

Modified Files:
	src/sys/arch/sh3/include: intr.h
	src/sys/arch/sh3/sh3: interrupt.c

Log Message:
Make intc_intr_priority() return old level.  While here, make the code
more compact by factoring out register update to happen in one place,
outside the switch statements.

Add intc_intr_disable() and intc_intr_enable().


To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 src/sys/arch/sh3/include/intr.h
cvs rdiff -r1.8 -r1.9 src/sys/arch/sh3/sh3/interrupt.c

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