diff options
Diffstat (limited to 'include/asm-s390')
-rw-r--r-- | include/asm-s390/processor.h | 10 | ||||
-rw-r--r-- | include/asm-s390/timer.h | 12 |
2 files changed, 12 insertions, 10 deletions
diff --git a/include/asm-s390/processor.h b/include/asm-s390/processor.h index 5483c28b8bc3..4af80af2a88f 100644 --- a/include/asm-s390/processor.h +++ b/include/asm-s390/processor.h | |||
@@ -336,16 +336,6 @@ extern void (*s390_base_mcck_handler_fn)(void); | |||
336 | extern void (*s390_base_pgm_handler_fn)(void); | 336 | extern void (*s390_base_pgm_handler_fn)(void); |
337 | extern void (*s390_base_ext_handler_fn)(void); | 337 | extern void (*s390_base_ext_handler_fn)(void); |
338 | 338 | ||
339 | /* | ||
340 | * CPU idle notifier chain. | ||
341 | */ | ||
342 | #define S390_CPU_IDLE 0 | ||
343 | #define S390_CPU_NOT_IDLE 1 | ||
344 | |||
345 | struct notifier_block; | ||
346 | int register_idle_notifier(struct notifier_block *nb); | ||
347 | int unregister_idle_notifier(struct notifier_block *nb); | ||
348 | |||
349 | #define ARCH_LOW_ADDRESS_LIMIT 0x7fffffffUL | 339 | #define ARCH_LOW_ADDRESS_LIMIT 0x7fffffffUL |
350 | 340 | ||
351 | #endif | 341 | #endif |
diff --git a/include/asm-s390/timer.h b/include/asm-s390/timer.h index adb34860a543..d98d79e35cd6 100644 --- a/include/asm-s390/timer.h +++ b/include/asm-s390/timer.h | |||
@@ -48,6 +48,18 @@ extern int del_virt_timer(struct vtimer_list *timer); | |||
48 | extern void init_cpu_vtimer(void); | 48 | extern void init_cpu_vtimer(void); |
49 | extern void vtime_init(void); | 49 | extern void vtime_init(void); |
50 | 50 | ||
51 | #ifdef CONFIG_VIRT_TIMER | ||
52 | |||
53 | extern void vtime_start_cpu_timer(void); | ||
54 | extern void vtime_stop_cpu_timer(void); | ||
55 | |||
56 | #else | ||
57 | |||
58 | static inline void vtime_start_cpu_timer(void) { } | ||
59 | static inline void vtime_stop_cpu_timer(void) { } | ||
60 | |||
61 | #endif /* CONFIG_VIRT_TIMER */ | ||
62 | |||
51 | #endif /* __KERNEL__ */ | 63 | #endif /* __KERNEL__ */ |
52 | 64 | ||
53 | #endif /* _ASM_S390_TIMER_H */ | 65 | #endif /* _ASM_S390_TIMER_H */ |