Subject: Re: CVS commit: src/sys/uvm
To: YAMAMOTO Takashi <yamt@netbsd.org>
From: Tom Spindler <dogcow@NetBSD.org>
List: source-changes
Date: 02/08/2008 02:24:19
> 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