commit | 8b9232141bf40788cce31f893c13f344ec31ee66 | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Sat May 18 17:02:59 2013 +0200 |
committer | Ralf Baechle <ralf@linux-mips.org> | Sun May 19 09:56:58 2013 +0200 |
tree | f43c727a62b114b2541e8744419df76a1efd2698 | |
parent | 130901ba33c4a040e12cf7cce240c1056cc096ee [diff] |
MIPS: Rewrite pfn_valid to work in modules, too. 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: Ralf Baechle <ralf@linux-mips.org>