Module Name: src Committed By: mrg Date: Sat Mar 6 08:08:30 UTC 2010
Modified Files: src/sys/arch/sparc64/include: cpu.h intr.h pmap.h src/sys/arch/sparc64/sparc64: autoconf.c cache.h cpu.c db_interface.c pmap.c Log Message: clean up a bunch of MULTIPROCESSOR: - always include ci_ipi_evcnt[] in cpuinfo - #define sparc_ncpus 1 for !MULTIPROCESSOR - make struct pmap::pm_list an pm_ctx always be an array, and simplify several functions and lookups to always be the same tested on U60 and SB2500 before and after with one and two cpus in an MP kernel, and UP kernels, and i can't find anything besides noise for benchmark issues. (infact, i can't really tell the difference between GENERIC and GENERIC.MP on these systems...) To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/sys/arch/sparc64/include/cpu.h cvs rdiff -u -r1.27 -r1.28 src/sys/arch/sparc64/include/intr.h cvs rdiff -u -r1.51 -r1.52 src/sys/arch/sparc64/include/pmap.h cvs rdiff -u -r1.171 -r1.172 src/sys/arch/sparc64/sparc64/autoconf.c cvs rdiff -u -r1.15 -r1.16 src/sys/arch/sparc64/sparc64/cache.h cvs rdiff -u -r1.89 -r1.90 src/sys/arch/sparc64/sparc64/cpu.c cvs rdiff -u -r1.122 -r1.123 src/sys/arch/sparc64/sparc64/db_interface.c cvs rdiff -u -r1.256 -r1.257 src/sys/arch/sparc64/sparc64/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.