diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2023-08-14 10:18:39 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2023-10-10 14:38:18 +0200 |
commit | 9ff4275bc8fd7bd5ac4677e2724397f8db3209bf (patch) | |
tree | 20cb865f2d171207cddb9871762288ba37bb49dc /arch/x86/mm/numa.c | |
parent | 6e29032340b60f7aa7475c8234b17273e4424007 (diff) |
x86/apic: Use BAD_APICID consistently
APIC ID checks compare with BAD_APICID all over the place, but some
initializers and some code which fiddles with global data structure use
-1[U] instead. That simply cannot work at all.
Fix it up and use BAD_APICID consistently all over the place.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Juergen Gross <jgross@suse.com>
Tested-by: Sohil Mehta <sohil.mehta@intel.com>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230814085112.862835121@linutronix.de
Diffstat (limited to 'arch/x86/mm/numa.c')
0 files changed, 0 insertions, 0 deletions