x86/apic: Make some APIC init functions bool
authorThomas Gleixner <tglx@linutronix.de>
Tue, 8 Aug 2023 22:03:48 +0000 (15:03 -0700)
committerDave Hansen <dave.hansen@linux.intel.com>
Wed, 9 Aug 2023 18:58:20 +0000 (11:58 -0700)
commit1751adedbd601d6a9da35de0c1e2592ac980fdfe
tree964609c75f8822db8e810c80f6ad79dd0d57cad6
parent2906a67ac83b06b874b32bf6413a8d5e186fc33e
x86/apic: Make some APIC init functions bool

Quite some APIC init functions are pure boolean, but use the success = 0,
fail < 0 model. That's confusing as hell when reading through the code.

Convert them to boolean.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Sohil Mehta <sohil.mehta@intel.com>
Tested-by: Juergen Gross <jgross@suse.com> # Xen PV (dom0 and unpriv. guest)
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/devicetree.c