diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-08-15 22:35:53 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-20 08:26:28 -0700 |
commit | 938b7f3cfac46ced23a64a719062d9b56acc91aa (patch) | |
tree | 1142dca74474721c9d7635633bce2edebf37ac24 /net | |
parent | 22a327d1685e35c2dd6b00b2ef1c27d0d252e6fa (diff) | |
download | lwn-938b7f3cfac46ced23a64a719062d9b56acc91aa.tar.gz lwn-938b7f3cfac46ced23a64a719062d9b56acc91aa.zip |
MIPS: Rewrite pfn_valid to work in modules, too.
Upstream commit 8b9232141bf40788cce31f893c13f344ec31ee66.
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.
[Backport to 3.4 kernel. Applies cleanly on top of current 3.4 patch queue,
and fixes "make ARCH=mips allmodconfig; make ARCH=mips" build problem. - Guenter]
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions