diff options
author | Wojciech A. Koszek <wkoszek@FreeBSD.org> | 2008-06-08 08:56:46 +0000 |
---|---|---|
committer | Wojciech A. Koszek <wkoszek@FreeBSD.org> | 2008-06-08 08:56:46 +0000 |
commit | 70e83c4514808de35bb0d57a1617ffdf4f02509b (patch) | |
tree | 94f6768094b56be1f86602089a428f96f524dd98 /sys/mips | |
parent | 2e3d4b798b464a72903f3da6ffa68626e1ec06d7 (diff) | |
download | src-70e83c4514808de35bb0d57a1617ffdf4f02509b.tar.gz src-70e83c4514808de35bb0d57a1617ffdf4f02509b.zip |
Fix spelling of "virtual".
There should be no visible change.
Reviewed by: rink
Notes
Notes:
svn path=/head/; revision=179648
Diffstat (limited to 'sys/mips')
-rw-r--r-- | sys/mips/include/pte.h | 2 | ||||
-rw-r--r-- | sys/mips/mips/trap.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/mips/include/pte.h b/sys/mips/include/pte.h index 809a71f9045b..aa7e839c4393 100644 --- a/sys/mips/include/pte.h +++ b/sys/mips/include/pte.h @@ -121,7 +121,7 @@ typedef pt_entry_t *pd_entry_t; #define vad_to_pfn64(x) ((quad_t)(x) >> PTE_SHIFT) & PTE_FRAME) #define pfn_to_vad(x) (((x) & PTE_FRAME) << PTE_SHIFT) -/* User viritual to pte offset in page table */ +/* User virtual to pte offset in page table */ #define vad_to_pte_offset(adr) (((adr) >> PGSHIFT) & (NPTEPG -1)) #define mips_pg_v(entry) ((entry) & PTE_V) diff --git a/sys/mips/mips/trap.c b/sys/mips/mips/trap.c index 015a28a3a073..8c32b593c915 100644 --- a/sys/mips/mips/trap.c +++ b/sys/mips/mips/trap.c @@ -140,7 +140,7 @@ void (*machExceptionTable[]) (void)= { MipsKernGenException, /* coprocessor unusable */ MipsKernGenException, /* arithmetic overflow */ MipsKernGenException, /* trap exception */ - MipsKernGenException, /* viritual coherence exception inst */ + MipsKernGenException, /* virtual coherence exception inst */ MipsKernGenException, /* floating point exception */ MipsKernGenException, /* reserved */ MipsKernGenException, /* reserved */ @@ -157,7 +157,7 @@ void (*machExceptionTable[]) (void)= { MipsKernGenException, /* reserved */ MipsKernGenException, /* reserved */ MipsKernGenException, /* reserved */ - MipsKernGenException, /* viritual coherence exception data */ + MipsKernGenException, /* virtual coherence exception data */ /* * The user exception handlers. */ @@ -210,7 +210,7 @@ char *trap_type[] = { "coprocessor unusable", "arithmetic overflow", "trap", - "viritual coherency instruction", + "virtual coherency instruction", "floating point", "reserved 16", "reserved 17", @@ -227,7 +227,7 @@ char *trap_type[] = { "reserved 28", "reserved 29", "reserved 30", - "viritual coherency data", + "virtual coherency data", }; #if !defined(SMP) && (defined(DDB) || defined(DEBUG)) |