From e279d83d7dd46f9b0330ab1606a1e33fbdba5820 Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Mon, 24 Dec 2012 13:10:42 -0500 Subject: [PATCH] arch/arm: MMU comment spelling fixups --- arch/arm/kernel/mmu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/kernel/mmu.c b/arch/arm/kernel/mmu.c index c8fc225..c713561 100644 --- a/arch/arm/kernel/mmu.c +++ b/arch/arm/kernel/mmu.c @@ -64,7 +64,7 @@ void mmu_reinit() { //create identity mapping for entire address space using sections. //BUT, if we've relocated the kernel from where it is in physical //memory, make sure we keep those mappings correct, and we'll actually - //swap the twp mappings so all of memory is addressable. + //swap the two mappings so all of memory is addressable. for (curr_addr = 0x00100000; curr_addr != 0; curr_addr += 0x00100000) { if ((uint32 *)curr_addr >= kernel_start_phys && (uint32 *)curr_addr < kernel_end_phys) { *curr_tt_entry = (curr_addr + virt_phys_offset) | 0xc02; @@ -84,7 +84,7 @@ int mmu_region_contains(void *lower_a, void *upper_a, void *lower_b, void *upper #define section_round_down(ptr) (((uint32)ptr) & ~(TT_SECTION_SIZE-1)) #define section_round_up(ptr) (((((uint32)ptr) & ~1) + (TT_SECTION_SIZE-1) ) & ~(TT_SECTION_SIZE-1)) -/* Called one per physical memory region by bootup code. This function is +/* Called once per physical memory region by bootup code. This function is * responsible for only adding (via mm_add_free_region()) those parts of the * memory region which are still available (i.e. aren't in the kernel and * haven't been remapped anywhere else. */