• Tejun Heo's avatar
    x86, NUMA: Remove long 64bit assumption from numa.c · 38f3e1ca
    Tejun Heo authored
    Code moved from numa_64.c has assumption that long is 64bit in several
    places.  This patch removes the assumption by using {s|u}64_t
    explicity, using PFN_PHYS() for page number -> addr conversions and
    adjusting printf formats.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Yinghai Lu <yinghai@kernel.org>
    Cc: David Rientjes <rientjes@google.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    38f3e1ca
numa.c 19.8 KB