spapr_cpu_core: rewrite machine type sanity check
This makes the code easier to understand and it is consistent with what we already do for PHBs. Signed-off-by: NGreg Kurz <groug@kaod.org> Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
Showing
想要评论请 注册 或 登录