You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[S390] idle: remove idle notifier chain.
The idle notifier chain consists of at most one element. So there's no point in having a notifier chain. Remove it and directly call the function. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
@@ -336,16 +336,6 @@ extern void (*s390_base_mcck_handler_fn)(void);
|
||||
extern void (*s390_base_pgm_handler_fn)(void);
|
||||
extern void (*s390_base_ext_handler_fn)(void);
|
||||
|
||||
/*
|
||||
* CPU idle notifier chain.
|
||||
*/
|
||||
#define S390_CPU_IDLE 0
|
||||
#define S390_CPU_NOT_IDLE 1
|
||||
|
||||
struct notifier_block;
|
||||
int register_idle_notifier(struct notifier_block *nb);
|
||||
int unregister_idle_notifier(struct notifier_block *nb);
|
||||
|
||||
#define ARCH_LOW_ADDRESS_LIMIT 0x7fffffffUL
|
||||
|
||||
#endif
|
||||
|
||||
@@ -48,6 +48,18 @@ extern int del_virt_timer(struct vtimer_list *timer);
|
||||
extern void init_cpu_vtimer(void);
|
||||
extern void vtime_init(void);
|
||||
|
||||
#ifdef CONFIG_VIRT_TIMER
|
||||
|
||||
extern void vtime_start_cpu_timer(void);
|
||||
extern void vtime_stop_cpu_timer(void);
|
||||
|
||||
#else
|
||||
|
||||
static inline void vtime_start_cpu_timer(void) { }
|
||||
static inline void vtime_stop_cpu_timer(void) { }
|
||||
|
||||
#endif /* CONFIG_VIRT_TIMER */
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
|
||||
#endif /* _ASM_S390_TIMER_H */
|
||||
|
||||
Reference in New Issue
Block a user