diff options
| author | Johannes Berg <[email protected]> | 2019-07-03 08:52:01 +0000 |
|---|---|---|
| committer | Richard Weinberger <[email protected]> | 2019-07-04 07:52:18 +0000 |
| commit | b482e48d29f1461fd0d059a17f32bcfa274127b3 (patch) | |
| tree | ac09633da91f96547d23fc1dbd890e0eef18e530 /arch/um/include/shared/timer-internal.h | |
| parent | um: Fix kcov crash during startup (diff) | |
| download | kernel-b482e48d29f1461fd0d059a17f32bcfa274127b3.tar.gz kernel-b482e48d29f1461fd0d059a17f32bcfa274127b3.zip | |
um: fix build without CONFIG_UML_TIME_TRAVEL_SUPPORT
When CONFIG_UML_TIME_TRAVEL_SUPPORT isn't set, the build was broken.
Fix this.
Fixes: 065038706f77 ("um: Support time travel mode")
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'arch/um/include/shared/timer-internal.h')
| -rw-r--r-- | arch/um/include/shared/timer-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/include/shared/timer-internal.h b/arch/um/include/shared/timer-internal.h index 5ca74f415d52..8574338bf23b 100644 --- a/arch/um/include/shared/timer-internal.h +++ b/arch/um/include/shared/timer-internal.h @@ -54,6 +54,8 @@ static inline void time_travel_set_timer(enum time_travel_timer_mode mode, unsigned long long expiry) { } + +#define time_travel_timer_mode TT_TMR_DISABLED #endif #endif |
