pause_sbt(): Take the cold path (ie. use DELAY()) if KDB is active
This fixes a panic in the i915 driver when one uses debug.kdb.enter=1 under vt(4). PR: 193269 Reported by: emaste@ Submitted by: avg@ MFC after: 3 days
This commit is contained in:
parent
afa0a6efe0
commit
ffea80b445
@ -362,7 +362,7 @@ pause_sbt(const char *wmesg, sbintime_t sbt, sbintime_t pr, int flags)
|
||||
if (sbt == 0)
|
||||
sbt = tick_sbt;
|
||||
|
||||
if (cold) {
|
||||
if (cold || kdb_active) {
|
||||
/*
|
||||
* We delay one second at a time to avoid overflowing the
|
||||
* system specific DELAY() function(s):
|
||||
|
Loading…
Reference in New Issue
Block a user