Skip to content
Commit 8b923214 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 130901ba
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment