[PATCH 6.12 190/466] arch_numa: Restore nid checks before registering a memblock with a node