Skip to content
  • Johannes Berg's avatar
    um: fix time travel mode · e0917f87
    Johannes Berg authored
    Unfortunately, my build fix for when time travel mode isn't
    enabled broke time travel mode, because I forgot that we need
    to use the timer time after the timer has been marked disabled,
    and thus need to leave the time stored instead of zeroing it.
    Fix that by splitting the inline into two, so we can call only
    the _mode() one in the relevant code path.
    Fixes: b482e48d
     ("um: fix build without CONFIG_UML_TIME_TRAVEL_SUPPORT")
    Signed-off-by: default avatarJohannes Berg <>
    Signed-off-by: default avatarRichard Weinberger <>