NetBSD/sys/arch/mvme68k
mrg 648bbec934 in cpu_dumpconf(), don't panic() if we can't bdevsw_lookup() the
dumpdev.  this occurs when we try to set the dumpdev to a device
with no driver loaded.  this fixes PR#34872.

in sys_swapctl, if bdevsw_lookup() fails, set dumpdev = NODEV
before calling cpu_dumpconf().  (this also fixes PR#34872.)

XXX: cpu_dumpconf() should probably be changed to take a dumpdev
XXX: and return an error in such cases, but that is a much more
XXX: intrusive change.

XXX2: this is only run-tested on sparc64 and compile tested on a
XXX2: couple of platforms.
2006-10-21 05:54:31 +00:00
..
compile Rework how KERNOBJDIR functions; now it's always determined with 2003-01-06 17:40:18 +00:00
conf Remove obsolete #options VERIFIED_EXEC, found by grep(1). 2006-08-26 07:59:21 +00:00
dev Use device_unit(). 2006-03-28 17:38:24 +00:00
docs merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
include Convet to MI todr. Ok steve@. 2006-09-09 22:28:27 +00:00
mvme68k in cpu_dumpconf(), don't panic() if we can't bdevsw_lookup() the 2006-10-21 05:54:31 +00:00
stand change some variable types from int to size_t, since that's what libsa 2006-05-20 20:38:39 +00:00
Makefile Rework how KERNOBJDIR functions; now it's always determined with 2003-01-06 17:40:18 +00:00