Skip to content

Commit 5661bcc

Browse files
Finn Thaingeertu
authored andcommitted
m68k: Correct some typos in comments
Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Link: https://lore.kernel.org/r/f54e99e9bd1e25ad70a6a1d7a7ec9ab2b4e50d68.1595460351.git.fthain@telegraphics.com.au Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
1 parent c75e59e commit 5661bcc

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

arch/m68k/kernel/head.S

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
* Of course, readability is a subjective issue, so it will never be
5858
* argued that that goal was accomplished. It was merely a goal.
5959
* A key way to help make code more readable is to give good
60-
* documentation. So, the first thing you will find is exaustive
60+
* documentation. So, the first thing you will find is exhaustive
6161
* write-ups on the structure of the file, and the features of the
6262
* functional subroutines.
6363
*
@@ -1304,7 +1304,7 @@ L(mmu_fixup_done):
13041304
* mmu_engage
13051305
*
13061306
* This chunk of code performs the gruesome task of engaging the MMU.
1307-
* The reason its gruesome is because when the MMU becomes engaged it
1307+
* The reason it's gruesome is because when the MMU becomes engaged it
13081308
* maps logical addresses to physical addresses. The Program Counter
13091309
* register is then passed through the MMU before the next instruction
13101310
* is fetched (the instruction following the engage MMU instruction).
@@ -1369,7 +1369,7 @@ L(mmu_fixup_done):
13691369
/*
13701370
* After this point no new memory is allocated and
13711371
* the start of available memory is stored in availmem.
1372-
* (The bootmem allocator requires now the physicall address.)
1372+
* (The bootmem allocator requires now the physical address.)
13731373
*/
13741374

13751375
movel L(memory_start),availmem
@@ -1547,7 +1547,7 @@ func_return get_bi_record
15471547
* seven bits of the logical address (LA) are used as an
15481548
* index into the "root table." Each entry in the root
15491549
* table has a bit which specifies if it's a valid pointer to a
1550-
* pointer table. Each entry defines a 32KMeg range of memory.
1550+
* pointer table. Each entry defines a 32Meg range of memory.
15511551
* If an entry is invalid then that logical range of 32M is
15521552
* invalid and references to that range of memory (when the MMU
15531553
* is enabled) will fault. If the entry is valid, then it does
@@ -1584,7 +1584,7 @@ func_return get_bi_record
15841584
* bits 17..12 - index into the Page Table
15851585
* bits 11..0 - offset into a particular 4K page
15861586
*
1587-
* The algorithms which follows do one thing: they abstract
1587+
* The algorithms which follow do one thing: they abstract
15881588
* the MMU hardware. For example, there are three kinds of
15891589
* cache settings that are relevant. Either, memory is
15901590
* being mapped in which case it is either Kernel Code (or
@@ -2082,7 +2082,7 @@ func_return mmu_map_tt
20822082
* mmu_map
20832083
*
20842084
* This routine will map a range of memory using a pointer
2085-
* table and allocating the pages on the fly from the kernel.
2085+
* table and allocate the pages on the fly from the kernel.
20862086
* The pointer table does not have to be already linked into
20872087
* the root table, this routine will do that if necessary.
20882088
*
@@ -2528,7 +2528,7 @@ func_start mmu_get_root_table_entry,%d0/%a1
25282528

25292529
/* Find the start of free memory, get_bi_record does this for us,
25302530
* as the bootinfo structure is located directly behind the kernel
2531-
* and and we simply search for the last entry.
2531+
* we simply search for the last entry.
25322532
*/
25332533
get_bi_record BI_LAST
25342534
addw #PAGESIZE-1,%a0
@@ -2654,7 +2654,7 @@ func_start mmu_get_page_table_entry,%d0/%a1
26542654
jne 2f
26552655

26562656
/* If the page table entry doesn't exist, we allocate a complete new
2657-
* page and use it as one continues big page table which can cover
2657+
* page and use it as one continuous big page table which can cover
26582658
* 4MB of memory, nearly almost all mappings have that alignment.
26592659
*/
26602660
get_new_page

0 commit comments

Comments
 (0)