diff options
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/common-offsets.h | 4 | ||||
-rw-r--r-- | arch/um/include/os.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/um/include/common-offsets.h b/arch/um/include/common-offsets.h index 54694693f400..0edab695ed4e 100644 --- a/arch/um/include/common-offsets.h +++ b/arch/um/include/common-offsets.h | |||
@@ -34,3 +34,7 @@ DEFINE(crypto_tfm_ctx_offset, offsetof(struct crypto_tfm, __crt_ctx)); | |||
34 | DEFINE(UM_THREAD_SIZE, THREAD_SIZE); | 34 | DEFINE(UM_THREAD_SIZE, THREAD_SIZE); |
35 | 35 | ||
36 | DEFINE(UM_HZ, HZ); | 36 | DEFINE(UM_HZ, HZ); |
37 | |||
38 | DEFINE(UM_USEC_PER_SEC, USEC_PER_SEC); | ||
39 | DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC); | ||
40 | DEFINE(UM_NSEC_PER_USEC, NSEC_PER_USEC); | ||
diff --git a/arch/um/include/os.h b/arch/um/include/os.h index a1b0804ee57b..fbf0a87c6eaa 100644 --- a/arch/um/include/os.h +++ b/arch/um/include/os.h | |||
@@ -249,8 +249,6 @@ extern int setjmp_wrapper(void (*proc)(void *, void *), ...); | |||
249 | extern void os_dump_core(void); | 249 | extern void os_dump_core(void); |
250 | 250 | ||
251 | /* time.c */ | 251 | /* time.c */ |
252 | #define BILLION (1000 * 1000 * 1000) | ||
253 | |||
254 | extern void idle_sleep(unsigned long long nsecs); | 252 | extern void idle_sleep(unsigned long long nsecs); |
255 | extern int set_interval(void); | 253 | extern int set_interval(void); |
256 | extern int timer_one_shot(int ticks); | 254 | extern int timer_one_shot(int ticks); |