• Ralf Baechle's avatar
    MIPS: Rewrite pfn_valid to work in modules, too. · 8b923214
    Ralf Baechle authored
    This fixes:
    
      MODPOST 393 modules
    ERROR: "min_low_pfn" [arch/mips/kvm/kvm.ko] undefined!
    make[3]: *** [__modpost] Error 1
    
    It would have been possible to just export min_low_pfn but in the end
    pfn_valid should return 1 for any pfn argument for which a struct page
    exists so using min_low_pfn was wrong anyway.
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    8b923214
page.h 6.04 KB