Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   uwe
Date:           Fri Jul 25 00:48:59 UTC 2008

Modified Files:
        src/sys/kern: kern_synch.c
        src/sys/sys: lwp.h

Log Message:
Declare lwp_exit_switchaway() __dead.  Add infinite loop at the end of
lwp_exit_switchaway() to convince gcc that cpu_switchto(NULL, ...) is
really not going to return in that case.  Exposed by gcc4.3.

Reported on tech-kern by Alexander Shishkin.


To generate a diff of this commit:
cvs rdiff -r1.250 -r1.251 src/sys/kern/kern_synch.c
cvs rdiff -r1.105 -r1.106 src/sys/sys/lwp.h

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



Home | Main Index | Thread Index | Old Index