diff options
| author | Richard Weinberger <[email protected]> | 2012-03-25 21:00:04 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2012-03-26 01:16:07 +0000 |
| commit | 90e240142bd31ff10aeda5a280a53153f4eff004 (patch) | |
| tree | ae612bacc2cfd2fedc4c5c22c29dd326f8b93ae7 /lib/debugobjects.c | |
| parent | x86/kconfig: Remove CONFIG_TR=y from the defconfigs (diff) | |
| download | kernel-90e240142bd31ff10aeda5a280a53153f4eff004.tar.gz kernel-90e240142bd31ff10aeda5a280a53153f4eff004.zip | |
x86: Merge the x86_32 and x86_64 cpu_idle() functions
Both functions are mostly identical.
The differences are:
- x86_32's cpu_idle() makes use of check_pgt_cache(), which is a
nop on both x86_32 and x86_64.
- x86_64's cpu_idle() uses enter/__exit_idle/(), on x86_32 these
function are a nop.
- In contrast to x86_32, x86_64 calls rcu_idle_enter/exit() in
the innermost loop because idle notifications need RCU.
Calling these function on x86_32 also in the innermost loop
does not hurt.
So we can merge both functions.
Signed-off-by: Richard Weinberger <[email protected]>
Acked-by: Frederic Weisbecker <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
