[PATCH 09/18] powerpc/numa: stub out numa_update_cpu_topology()

Srikar Dronamraju srikar at linux.vnet.ibm.com
Wed Jun 24 02:27:50 AEST 2020


* Nathan Lynch <nathanl at linux.ibm.com> [2020-06-12 00:12:29]:

> Previous changes have removed the code which sets bits in
> cpu_associativity_changes_mask and thus it is never modifed at
> runtime. From this we can reason that numa_update_cpu_topology()
> always returns 0 without doing anything. Remove the body of
> numa_update_cpu_topology() and remove all code which becomes
> unreachable as a result.
> 
> Signed-off-by: Nathan Lynch <nathanl at linux.ibm.com>
> ---
>  arch/powerpc/mm/numa.c | 193 +----------------------------------------
>  1 file changed, 1 insertion(+), 192 deletions(-)
> 

Looks good to me.

Reviewed-by: Srikar Dronamraju <srikar at linux.vnet.ibm.com>
-- 
Thanks and Regards
Srikar Dronamraju


More information about the Linuxppc-dev mailing list