diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2015-08-09 07:18:46 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2015-08-09 06:21:17 -0400 |
commit | 5014e7011964ff46b2d73cf91a05ed9eed5a8fa2 (patch) | |
tree | 76fad060cf673112d92a4f5f2d9b9423383610f6 /include/linux/smp.h | |
parent | fc6ac04ddc314b9cff5bdb92c8330569658076a3 (diff) |
Add hrtimer_start_on() support
This patch adds hrtimer_start_on(), which allows arming timers on
remote CPUs. This is needed to avoided timer interrupts on "shielded"
CPUs and is also useful for implementing semi-partitioned schedulers.
Diffstat (limited to 'include/linux/smp.h')
-rw-r--r-- | include/linux/smp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/smp.h b/include/linux/smp.h index c4414074bd88..dfc63fe33a63 100644 --- a/include/linux/smp.h +++ b/include/linux/smp.h | |||
@@ -103,6 +103,11 @@ void kick_all_cpus_sync(void); | |||
103 | void wake_up_all_idle_cpus(void); | 103 | void wake_up_all_idle_cpus(void); |
104 | 104 | ||
105 | /* | 105 | /* |
106 | * sends a 'pull timer' event to a remote CPU | ||
107 | */ | ||
108 | extern void smp_send_pull_timers(int cpu); | ||
109 | |||
110 | /* | ||
106 | * Generic and arch helpers | 111 | * Generic and arch helpers |
107 | */ | 112 | */ |
108 | void __init call_function_init(void); | 113 | void __init call_function_init(void); |