Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/uvm



> Modified Files:
>       src/sys/uvm: uvm_glue.c
> 
> Log Message:
> uvm_uarea_init: make #if about PR_NOALIGN clearer and add a comment
> to explain it.

Sadly, this fails to compile on sparc, because PAGE_SIZE isn't a constant,
but uvmexp.pagesize - which cpp doesn't know what to do with. (Similarly,
I have no idea what the right thing to do for this section of code is.)

FYI, the error produced is
src/sys/uvm/uvm_glue.c:354:37: error: token "." is not valid in preprocessor 
expressions




Home | Main Index | Thread Index | Old Index