ARC: Fix misspellings in comments.
authorAdam Buchbinder <adam.buchbinder@gmail.com>
Tue, 23 Feb 2016 23:24:55 +0000 (15:24 -0800)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 11 Mar 2016 09:29:53 +0000 (14:59 +0530)
Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/cmpxchg.h
arch/arc/include/asm/entry-compact.h
arch/arc/include/asm/pgtable.h
arch/arc/kernel/stacktrace.c
arch/arc/kernel/time.c
arch/arc/mm/cache.c
arch/arc/mm/highmem.c
arch/arc/mm/tlb.c

index af7a2db139c96887a758f711140175f88b85845d..a444be67cd53e7906d2c2d808a08b75182463918 100644 (file)
@@ -149,7 +149,7 @@ static inline unsigned long __xchg(unsigned long val, volatile void *ptr,
  * Since xchg() doesn't always do that, it would seem that following defintion
  * is incorrect. But here's the rationale:
  *   SMP : Even xchg() takes the atomic_ops_lock, so OK.
- *   LLSC: atomic_ops_lock are not relevent at all (even if SMP, since LLSC
+ *   LLSC: atomic_ops_lock are not relevant at all (even if SMP, since LLSC
  *         is natively "SMP safe", no serialization required).
  *   UP  : other atomics disable IRQ, so no way a difft ctxt atomic_xchg()
  *         could clobber them. atomic_xchg() itself would be 1 insn, so it
index 1aff3be9107563ca620072a49abf9e9925d4ec6b..1d8f57cd605773a106cbf03fd6836ae4fa8eeff0 100644 (file)
        /* free up r9 as scratchpad */
        PROLOG_FREEUP_REG r9, @int\LVL\()_saved_reg
 
-       /* Which mode (user/kernel) was the system in when intr occured */
+       /* Which mode (user/kernel) was the system in when intr occurred */
        lr  r9, [status32_l\LVL\()]
 
        SWITCH_TO_KERNEL_STK
index d426d4215513333289ac85bebea412015e7562d2..ec2af62f53484db1e6a0ccaeae43eb601a4b74e0 100644 (file)
@@ -12,7 +12,7 @@
  *  - Utilise some unused free bits to confine PTE flags to 12 bits
  *     This is a must for 4k pg-sz
  *
- * vineetg: Mar 2011 - changes to accomodate MMU TLB Page Descriptor mods
+ * vineetg: Mar 2011 - changes to accommodate MMU TLB Page Descriptor mods
  *  -TLB Locking never really existed, except for initial specs
  *  -SILENT_xxx not needed for our port
  *  -Per my request, MMU V3 changes the layout of some of the bits
index 001de4ce711eae2b095451a52f68e77db3d81ef4..e0efff15a5aece29f9bf8ca45b95f856fc206eab 100644 (file)
@@ -232,7 +232,7 @@ void show_stack(struct task_struct *tsk, unsigned long *sp)
 }
 
 /* Another API expected by schedular, shows up in "ps" as Wait Channel
- * Ofcourse just returning schedule( ) would be pointless so unwind until
+ * Of course just returning schedule( ) would be pointless so unwind until
  * the function is not in schedular code
  */
 unsigned int get_wchan(struct task_struct *tsk)
index 156d9833ff84b5c77b7a7bd95d2be15c81d7cbf9..7d9a736fc7e5cb0e7e242bdb6a08dc7c8c3f3c46 100644 (file)
@@ -55,8 +55,8 @@
 #define ARC_REG_TIMER1_CTRL    0x101   /* timer 1 control */
 #define ARC_REG_TIMER1_CNT     0x100   /* timer 1 count */
 
-#define TIMER_CTRL_IE          (1 << 0) /* Interupt when Count reachs limit */
-#define TIMER_CTRL_NH          (1 << 1) /* Count only when CPU NOT halted */
+#define TIMER_CTRL_IE  (1 << 0) /* Interrupt when Count reaches limit */
+#define TIMER_CTRL_NH  (1 << 1) /* Count only when CPU NOT halted */
 
 #define ARC_TIMER_MAX  0xFFFFFFFF
 
index b65f797e9ad6723abd7c38bba09e382df52450b4..e1d71dc8cf41e711a965ec48dfbf14f7d8308cf8 100644 (file)
@@ -650,7 +650,7 @@ static void __dma_cache_wback_l1(unsigned long start, unsigned long sz)
 
 /*
  * DMA ops for systems with both L1 and L2 caches, but without IOC
- * Both L1 and L2 lines need to be explicity flushed/invalidated
+ * Both L1 and L2 lines need to be explicitly flushed/invalidated
  */
 static void __dma_cache_wback_inv_slc(unsigned long start, unsigned long sz)
 {
index 92dd92cad7f92db32f9ecc1b73992e1ea0a5f74d..04f83322c9fdaf09444bb55eb4d095a68190cf9f 100644 (file)
@@ -18,7 +18,7 @@
 /*
  * HIGHMEM API:
  *
- * kmap() API provides sleep semantics hence refered to as "permanent maps"
+ * kmap() API provides sleep semantics hence referred to as "permanent maps"
  * It allows mapping LAST_PKMAP pages, using @last_pkmap_nr as the cursor
  * for book-keeping
  *
index daf2bf52b984c6781dbb6831e22f013b04e58d0d..7046c12c58edd3779990c3b16911c72d4a985e37 100644 (file)
@@ -45,7 +45,7 @@
  *       in interrupt-safe region.
  *
  * Vineetg: April 23rd Bug #93131
- *    Problem: tlb_flush_kernel_range() doesnt do anything if the range to
+ *    Problem: tlb_flush_kernel_range() doesn't do anything if the range to
  *              flush is more than the size of TLB itself.
  *
  * Rahul Trivedi : Codito Technologies 2004
@@ -167,7 +167,7 @@ static void utlb_invalidate(void)
        /* MMU v2 introduced the uTLB Flush command.
         * There was however an obscure hardware bug, where uTLB flush would
         * fail when a prior probe for J-TLB (both totally unrelated) would
-        * return lkup err - because the entry didnt exist in MMU.
+        * return lkup err - because the entry didn't exist in MMU.
         * The Workround was to set Index reg with some valid value, prior to
         * flush. This was fixed in MMU v3 hence not needed any more
         */
@@ -210,7 +210,7 @@ static void tlb_entry_insert(unsigned int pd0, pte_t pd1)
 
        /*
         * Commit the Entry to MMU
-        * It doesnt sound safe to use the TLBWriteNI cmd here
+        * It doesn't sound safe to use the TLBWriteNI cmd here
         * which doesn't flush uTLBs. I'd rather be safe than sorry.
         */
        write_aux_reg(ARC_REG_TLBCOMMAND, TLBWrite);
@@ -636,7 +636,7 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long vaddr_unaligned,
  * support.
  *
  * Normal and Super pages can co-exist (ofcourse not overlap) in TLB with a
- * new bit "SZ" in TLB page desciptor to distinguish between them.
+ * new bit "SZ" in TLB page descriptor to distinguish between them.
  * Super Page size is configurable in hardware (4K to 16M), but fixed once
  * RTL builds.
  *
This page took 0.038242 seconds and 5 git commands to generate.