• Tejun Heo's avatar
    x86-64, NUMA: Add common find_node_by_addr() · a844ef46
    Tejun Heo authored
    srat_64.c and amdtopology_64.c had their own versions of
    find_node_by_addr() which were basically the same.  Add common one in
    numa_64.c and remove the duplicates.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Yinghai Lu <yinghai@kernel.org>
    Cc: Brian Gerst <brgerst@gmail.com>
    Cc: Cyrill Gorcunov <gorcunov@gmail.com>
    Cc: Shaohui Zheng <shaohui.zheng@intel.com>
    Cc: David Rientjes <rientjes@google.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: H. Peter Anvin <hpa@linux.intel.com>
    a844ef46
numa_64.h 1.19 KB