Commit 63d1dfd0 authored by Jilin Yuan's avatar Jilin Yuan Committed by Vineet Gupta

ARC: Fix comment typo

 - Remove one of the repeated 'call' in comment line 396.
 - Delete the redundant word 'to', 'since'
Signed-off-by: default avatarJilin Yuan <yuanjilin@cdjrlc.com>
Signed-off-by: default avatarVineet Gupta <vgupta@kernel.org>
parent 9abf2313
...@@ -385,7 +385,7 @@ irqreturn_t do_IPI(int irq, void *dev_id) ...@@ -385,7 +385,7 @@ irqreturn_t do_IPI(int irq, void *dev_id)
* API called by platform code to hookup arch-common ISR to their IPI IRQ * API called by platform code to hookup arch-common ISR to their IPI IRQ
* *
* Note: If IPI is provided by platform (vs. say ARC MCIP), their intc setup/map * Note: If IPI is provided by platform (vs. say ARC MCIP), their intc setup/map
* function needs to call call irq_set_percpu_devid() for IPI IRQ, otherwise * function needs to call irq_set_percpu_devid() for IPI IRQ, otherwise
* request_percpu_irq() below will fail * request_percpu_irq() below will fail
*/ */
static DEFINE_PER_CPU(int, ipi_dev); static DEFINE_PER_CPU(int, ipi_dev);
......
...@@ -750,7 +750,7 @@ static inline void arc_slc_enable(void) ...@@ -750,7 +750,7 @@ static inline void arc_slc_enable(void)
* -In SMP, if hardware caches are coherent * -In SMP, if hardware caches are coherent
* *
* There's a corollary case, where kernel READs from a userspace mapped page. * There's a corollary case, where kernel READs from a userspace mapped page.
* If the U-mapping is not congruent to to K-mapping, former needs flushing. * If the U-mapping is not congruent to K-mapping, former needs flushing.
*/ */
void flush_dcache_page(struct page *page) void flush_dcache_page(struct page *page)
{ {
...@@ -910,7 +910,7 @@ EXPORT_SYMBOL(flush_icache_range); ...@@ -910,7 +910,7 @@ EXPORT_SYMBOL(flush_icache_range);
* @vaddr is typically user vaddr (breakpoint) or kernel vaddr (vmalloc) * @vaddr is typically user vaddr (breakpoint) or kernel vaddr (vmalloc)
* However in one instance, when called by kprobe (for a breakpt in * However in one instance, when called by kprobe (for a breakpt in
* builtin kernel code) @vaddr will be paddr only, meaning CDU operation will * builtin kernel code) @vaddr will be paddr only, meaning CDU operation will
* use a paddr to index the cache (despite VIPT). This is fine since since a * use a paddr to index the cache (despite VIPT). This is fine since a
* builtin kernel page will not have any virtual mappings. * builtin kernel page will not have any virtual mappings.
* kprobe on loadable module will be kernel vaddr. * kprobe on loadable module will be kernel vaddr.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment