diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2024-02-29 15:23:40 +0100 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2024-03-04 17:39:24 +0100 |
commit | f3d7eab7be871d948d896e7021038b092ece687e (patch) | |
tree | c9b20f2fc504a201cd0ef9895a6bc772f8b834c5 /include/linux/compiler-gcc.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 <tglx@linutronix.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240229142248.455616019@linutronix.de
Diffstat (limited to 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions