diff options
author | Thomas Gleixner <[email protected]> | 2024-02-29 15:23:40 +0100 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2024-03-04 17:39:24 +0100 |
commit | f3d7eab7be871d948d896e7021038b092ece687e (patch) | |
tree | c9b20f2fc504a201cd0ef9895a6bc772f8b834c5 /arch/x86/include/asm/pgalloc.h | |
parent | 0ab562875c01c91ec8167f8f6593ea61e510fd0a (diff) |
x86/idle: Cleanup idle_setup()
Updating the static call for x86_idle() from idle_setup() is
counter-intuitive.
Let select_idle_routine() handle it like the other idle choices, which
allows to simplify the idle selection later on.
While at it rewrite comments and return a proper error code and not -1.
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/include/asm/pgalloc.h')
0 files changed, 0 insertions, 0 deletions