On Feb 17, 2012, at 2:43 PM, Julio Merino wrote: > On 2/17/12 5:43 PM, Matt Thomas wrote: >> >> On Feb 17, 2012, at 2:36 PM, Julio Merino wrote: >> >>> Module Name: src >>> Committed By: jmmv >>> Date: Fri Feb 17 22:36:50 UTC 2012 >>> >>> Modified Files: >>> src/distrib/sets/lists/tests: module.mi >>> src/tests/modules: Makefile >>> Added Files: >>> src/tests/modules: t_abi_uvm.sh >>> src/tests/modules/k_uvm: Makefile k_uvm.c >>> >>> Log Message: >>> Add a test to ensure that PAGE_SIZE is available in kernel modules. >>> This test reproduces the error condition in PR port-macppc/46041 and >>> therefore it is an xfail in this particular platform. >> >> I explicitly made PAGE_SIZE unavailable for powerpc. This was part >> of having one consistent view for OEA,BOOKE,IBM4XX all which use >> different page size. So you can't rely on PAGE_SIZE. > > So the modules are broken on purpose?
Yes. To get PAGE_SIZE, you should be including <uvm/uvm_param.h>