diff options
author | imp <imp@FreeBSD.org> | 2010-07-13 22:30:27 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2010-07-13 22:30:27 +0000 |
commit | 7d38251667fee9ea63ef682b5007fbb396579f4a (patch) | |
tree | b0dc9f5e1014945ee83668513e4315717012c07e /sys/mips/sibyte | |
parent | d6f01eeb93e07f57c1455a095a6596d263306ee5 (diff) | |
download | FreeBSD-src-7d38251667fee9ea63ef682b5007fbb396579f4a.zip FreeBSD-src-7d38251667fee9ea63ef682b5007fbb396579f4a.tar.gz |
Remove redunant machine/cpuregs.h include.
Also, spell things like in machine/cpuregs.h instead of machine/cpu.h.
Diffstat (limited to 'sys/mips/sibyte')
-rw-r--r-- | sys/mips/sibyte/sb_machdep.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/mips/sibyte/sb_machdep.c b/sys/mips/sibyte/sb_machdep.c index ddc5150..e8fcaa5 100644 --- a/sys/mips/sibyte/sb_machdep.c +++ b/sys/mips/sibyte/sb_machdep.c @@ -28,7 +28,6 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> -#include <machine/cpuregs.h> #include "opt_ddb.h" #include "opt_kdb.h" @@ -253,7 +252,7 @@ mips_init(void) * code to the XTLB exception vector. */ { - bcopy(MipsTLBMiss, (void *)XTLB_MISS_EXC_VEC, + bcopy(MipsTLBMiss, (void *)MIPS3_XTLB_MISS_EXC_VEC, MipsTLBMissEnd - MipsTLBMiss); mips_icache_sync_all(); @@ -314,7 +313,7 @@ kseg0_map_coherent(void) const int CFG_K0_COHERENT = 5; config = mips_rd_config(); - config &= ~CFG_K0_MASK; + config &= ~MIPS3_CONFIG_K0_MASK; config |= CFG_K0_COHERENT; mips_wr_config(config); } @@ -371,7 +370,7 @@ platform_init_ap(int cpuid) */ clock_int_mask = hard_int_mask(5); ipi_int_mask = hard_int_mask(platform_ipi_intrnum()); - set_intr_mask(ALL_INT_MASK & ~(ipi_int_mask | clock_int_mask)); + set_intr_mask(MIPS_SR_INT_MASK & ~(ipi_int_mask | clock_int_mask)); } int |