aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/include')
-rw-r--r--arch/s390/include/asm/system.h4
-rw-r--r--arch/s390/include/asm/timer.h9
2 files changed, 0 insertions, 13 deletions
diff --git a/arch/s390/include/asm/system.h b/arch/s390/include/asm/system.h
index c17a3cfbe242..024ef42ed6d7 100644
--- a/arch/s390/include/asm/system.h
+++ b/arch/s390/include/asm/system.h
@@ -99,13 +99,9 @@ static inline void restore_access_regs(unsigned int *acrs)
99 prev = __switch_to(prev,next); \ 99 prev = __switch_to(prev,next); \
100} while (0) 100} while (0)
101 101
102#ifdef CONFIG_VIRT_CPU_ACCOUNTING
103extern void account_vtime(struct task_struct *); 102extern void account_vtime(struct task_struct *);
104extern void account_tick_vtime(struct task_struct *); 103extern void account_tick_vtime(struct task_struct *);
105extern void account_system_vtime(struct task_struct *); 104extern void account_system_vtime(struct task_struct *);
106#else
107#define account_vtime(x) do { /* empty */ } while (0)
108#endif
109 105
110#ifdef CONFIG_PFAULT 106#ifdef CONFIG_PFAULT
111extern void pfault_irq_init(void); 107extern void pfault_irq_init(void);
diff --git a/arch/s390/include/asm/timer.h b/arch/s390/include/asm/timer.h
index d98d79e35cd6..61705d60f995 100644
--- a/arch/s390/include/asm/timer.h
+++ b/arch/s390/include/asm/timer.h
@@ -48,18 +48,9 @@ extern int del_virt_timer(struct vtimer_list *timer);
48extern void init_cpu_vtimer(void); 48extern void init_cpu_vtimer(void);
49extern void vtime_init(void); 49extern void vtime_init(void);
50 50
51#ifdef CONFIG_VIRT_TIMER
52
53extern void vtime_start_cpu_timer(void); 51extern void vtime_start_cpu_timer(void);
54extern void vtime_stop_cpu_timer(void); 52extern void vtime_stop_cpu_timer(void);
55 53
56#else
57
58static inline void vtime_start_cpu_timer(void) { }
59static inline void vtime_stop_cpu_timer(void) { }
60
61#endif /* CONFIG_VIRT_TIMER */
62
63#endif /* __KERNEL__ */ 54#endif /* __KERNEL__ */
64 55
65#endif /* _ASM_S390_TIMER_H */ 56#endif /* _ASM_S390_TIMER_H */