1
0
Fork 0
alistair23-linux/arch/um/include/shared
Johannes Berg e0917f8795 um: fix time travel mode
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: b482e48d29 ("um: fix build without CONFIG_UML_TIME_TRAVEL_SUPPORT")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2019-08-23 00:39:53 +02:00
..
skas um: stub-data.h: remove superfluous include 2017-07-07 10:44:49 +02:00
arch.h um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
as-layout.h um: Move uml_postsetup in the init_thread stack 2015-04-13 21:17:44 +02:00
common-offsets.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
elf_user.h x86, um: take arch/um/include/* out of the way 2008-10-22 22:55:19 -07:00
frame_kern.h um: Use get_signal() signal_setup_done() 2014-08-06 13:03:41 +02:00
init.h um: remove uml initcalls 2018-06-10 22:49:14 +02:00
irq_kern.h um: get rid of pointless include "..." where include <...> will do 2012-10-09 22:28:45 +02:00
irq_user.h um: Remove obsolete reenable_XX calls 2018-12-27 22:48:35 +01:00
kern.h um: trim kern.h 2011-11-02 14:15:07 +01:00
kern_util.h um: Fix do_signal() prototype 2015-07-07 10:58:54 +02:00
longjmp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mem.h x86, um: take arch/um/include/* out of the way 2008-10-22 22:55:19 -07:00
mem_user.h um: delete unnecessary bootmem struct page array 2014-10-13 17:15:09 +02:00
net_kern.h High Performance UML Vector Network Driver 2018-02-19 19:38:51 +01:00
net_user.h uml: UML net driver does not allow for vlans 2009-06-16 19:47:46 -07:00
os.h um: Pass nsecs to os timer functions 2019-07-02 23:27:29 +02:00
ptrace_user.h um: unify ptrace_user.h 2011-11-02 14:15:27 +01:00
registers.h um: add extended processor state save/restore support 2016-05-21 23:38:06 +02:00
sigio.h x86, um: take arch/um/include/* out of the way 2008-10-22 22:55:19 -07:00
timer-internal.h um: fix time travel mode 2019-08-23 00:39:53 +02:00
um_malloc.h um: get rid of kern_constants.h 2011-11-02 14:14:45 +01:00
user.h um: Stop abusing __KERNEL__ 2015-05-31 22:05:32 +02:00