Subject: CVS commit: [yamt-idlelwp] src/sys
To: None <source-changes@NetBSD.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 02/23/2007 15:57:46
Module Name: src
Committed By: yamt
Date: Fri Feb 23 15:57:46 UTC 2007
Modified Files:
src/sys/arch/i386/i386 [yamt-idlelwp]: idle_machdep.c machdep.c
src/sys/arch/i386/include [yamt-idlelwp]: cpu.h
src/sys/kern [yamt-idlelwp]: kern_idle.c kern_sleepq.c kern_synch.c
sched_4bsd.c
src/sys/sys [yamt-idlelwp]: proc.h
Added Files:
src/sys/sys [yamt-idlelwp]: cpu.h
Log Message:
- introduce sys/cpu.h which has cpu_idle and cpu_need_resched.
- use it where appropriate.
- while i'm here, remove several unnecessary #include.
To generate a diff of this commit:
cvs rdiff -r1.1.2.2 -r1.1.2.3 src/sys/arch/i386/i386/idle_machdep.c
cvs rdiff -r1.596.2.2 -r1.596.2.3 src/sys/arch/i386/i386/machdep.c
cvs rdiff -r1.133.2.1 -r1.133.2.2 src/sys/arch/i386/include/cpu.h
cvs rdiff -r1.1.2.1 -r1.1.2.2 src/sys/kern/kern_idle.c
cvs rdiff -r1.4.2.1 -r1.4.2.2 src/sys/kern/kern_sleepq.c
cvs rdiff -r1.177.2.7 -r1.177.2.8 src/sys/kern/kern_synch.c
cvs rdiff -r1.1.2.5 -r1.1.2.6 src/sys/kern/sched_4bsd.c
cvs rdiff -r0 -r1.7.52.1 src/sys/sys/cpu.h
cvs rdiff -r1.236.2.2 -r1.236.2.3 src/sys/sys/proc.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.