projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fe5d5c
)
x86/amd/idle, clockevents: Use explicit broadcast oneshot control functions
author
Thomas Gleixner
<
[email protected]
>
Fri, 3 Apr 2015 00:05:53 +0000
(
02:05
+0200)
committer
Ingo Molnar
<
[email protected]
>
Fri, 3 Apr 2015 06:44:34 +0000
(08:44 +0200)
Replace the clockevents_notify() call with an explicit function call.
Signed-off-by: Thomas Gleixner <
[email protected]
>
Signed-off-by: Rafael J. Wysocki <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/kernel/process.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/process.c
b/arch/x86/kernel/process.c
index e94b733de30240a6363c1a948e7e3d39100e7152..2f43c62fcd6d63294a30c0dc839a5763ab14462f 100644
(file)
--- a/
arch/x86/kernel/process.c
+++ b/
arch/x86/kernel/process.c
@@
-381,7
+381,7
@@
static void amd_e400_idle(void)
tick_broadcast_force();
pr_info("Switch to broadcast mode on CPU%d\n", cpu);
}
-
clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &cpu
);
+
tick_broadcast_enter(
);
default_idle();
@@
-390,7
+390,7
@@
static void amd_e400_idle(void)
* called with interrupts disabled.
*/
local_irq_disable();
-
clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, &cpu
);
+
tick_broadcast_exit(
);
local_irq_enable();
} else
default_idle();