> I fear I may not have applied the patch correctly:
> 
> /sys/src/9/pc% mk CONF=pcf
> 8c -FTVw devarch.c
> devarch.c:733 not enough function arguments: cpuid
> devarch.c:733 argument prototype mismatch "IND ULONG" for "IND INT":  
> cpuid
> devarch.c:739 argument prototype mismatch "INT" for "IND CHAR": cpuid
> devarch.c:739 not enough function arguments: cpuid
> devarch.c:739 argument prototype mismatch "IND ULONG" for "IND INT":  
> cpuid
> devarch.c:869 function args not checked: mtrrprint
> devarch.c:951 function args not checked: mtrr
> mk: 8c -FTVw devarch.c  : exit status=rc 1227: 8c 1229: error
> 
> I copied /n/sources/patch/saved/pat/*.[ch] to /sys/src/9/pc ... What  
> is the correct procedure here?

your procedure was correct — assuming that the patch was made
against the current sources snapshot.  a more robust but
much more involved technique is to diff the x.c s against the x.c.orig s and
apply those diffs to your current setup.

i dropped a devarch.c in /n/sources/contrib/quanstro/devarch.c.  hopefully
that will make things easier.

- erik

Reply via email to