NetBSD/sys/arch/x68k
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
conf remove MALLOC_NOINLINE, it doesn't do anything anymore. 2006-10-02 03:28:29 +00:00
dev More from Matt Fleming: 2006-10-01 20:31:49 +00:00
include Convert x68k to timecounters. This conversion is not tested, due to lack 2006-09-19 10:13:10 +00:00
stand Replace wrong tests for character device (st.st_mode & S_IFCHR) by 2006-09-23 20:10:14 +00:00
usr.bin gcc4 fix: change a couple of volatile void functions. 2006-08-04 02:32:30 +00:00
usr.sbin
x68k in cpu_dumpconf(), don't panic() if we can't bdevsw_lookup() the 2006-10-21 05:54:31 +00:00
Makefile