Skip to contentSkip to conversation

Clean up the unused comments from arm64 tlbflush.h

PATCH New ritesh.harjani at gmail.com 2 participants 4 messages May 21, 2014 arm64

lore
Share & tools
lore
#0 lore raw

cover Clean up the unused comments from arm64 tlbflush.h

From: Ritesh Harjani <[email protected]>

Based on suggestion[1] from Catalin, instead of defining unused function defination for flush_kern_tlb_page, clean up the function name from the comment in tlbflush.h.

[1]: http://www.spinics.net/lists/arm-kernel/msg332661.html

Ritesh Harjani (1):
arm64: tlbflush.h: Clean up comment

 arch/arm64/include/asm/tlbflush.h | 6 ------
 1 file changed, 6 deletions(-)
Signature · 1 line
1.8.1.3
#1 lore raw

PATCH 1/1 arm64: tlbflush.h: Clean up comment

From: Ritesh Harjani <[email protected]>

Clean up the undefined function name(flush_kern_tlb_page) from the comment in tlbflush.h

---
 arch/arm64/include/asm/tlbflush.h | 6 ------
 1 file changed, 6 deletions(-)
arch/arm64/include/asm/tlbflush.h +0 -6
index 8b48203..85e4f98 100644
@@ -63,12 +63,6 @@ extern struct cpu_tlb_fns cpu_tlb;
  *		- vaddr - virtual address (may not be aligned)
  *		- vma	- vma_struct describing address range
  *
- *	flush_kern_tlb_page(kaddr)
- *
- *		Invalidate the TLB entry for the specified page.  The address
- *		will be in the kernels virtual memory space.  Current uses
- *		only require the D-TLB to be invalidated.
- *		- kaddr - Kernel virtual memory address
  */
 static inline void flush_tlb_all(void)
 {
Signature · 1 line
1.8.1.3
#2 lore raw

PATCH 1/1 arm64: tlbflush.h: Clean up comment

Hi Ritesh,

Quoted 16 lines · On Wed, May 21, 2014 at 9:43 AM, <[email protected]> wrote:

From: Ritesh Harjani <[email protected]>

Clean up the undefined function name(flush_kern_tlb_page) from the comment in tlbflush.h

---
 arch/arm64/include/asm/tlbflush.h | 6 ------
 1 file changed, 6 deletions(-)
arch/arm64/include/asm/tlbflush.h +0 -0
index 8b48203..85e4f98 100644
@@ -63,12 +63,6 @@ extern struct cpu_tlb_fns cpu_tlb;
  *             - vaddr - virtual address (may not be aligned)

arch/arm64/include/asm/tlbflush.h extern struct cpu_tlb_fns cpu_tlb; · line 67

Quoted 10 lines
arch/arm64/include/asm/tlbflush.h +0 -6
  *             - vma   - vma_struct describing address range
  *
- *     flush_kern_tlb_page(kaddr)
- *
- *             Invalidate the TLB entry for the specified page.  The address
- *             will be in the kernels virtual memory space.  Current uses
- *             only require the D-TLB to be invalidated.
- *             - kaddr - Kernel virtual memory address
  */
 static inline void flush_tlb_all(void)

Probably you can remove the following comment in same file as well. "The arch/arm64/mm/tlb.S files implement these methods."

arch/arm64/mm/tlb.S file is no more and all the methods are implemented in the current file.

Thanks,
Arun

Quoted 9 lines
arch/arm64/include/asm/tlbflush.h +0 -1
 {
--

1.8.1.3

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#3 lore raw

PATCH 1/1 arm64: tlbflush.h: Clean up comment

Ok thanks Arun,

I didnt see this patch
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-May/252837.html

Will submit the correct patch then.

Thanks
Ritesh

Quoted 48 lines · Arun KS

Hi Ritesh,

Quoted 16 lines · On Wed, May 21, 2014 at 9:43 AM, <[email protected]> wrote:

From: Ritesh Harjani <[email protected]>

Clean up the undefined function name(flush_kern_tlb_page) from the comment in tlbflush.h

---
 arch/arm64/include/asm/tlbflush.h | 6 ------
 1 file changed, 6 deletions(-)
arch/arm64/include/asm/tlbflush.h +0 -0
index 8b48203..85e4f98 100644
@@ -63,12 +63,6 @@ extern struct cpu_tlb_fns cpu_tlb;
  *             - vaddr - virtual address (may not be aligned)

arch/arm64/include/asm/tlbflush.h extern struct cpu_tlb_fns cpu_tlb; · line 67

Quoted 10 lines
arch/arm64/include/asm/tlbflush.h +0 -6
  *             - vma   - vma_struct describing address range
  *
- *     flush_kern_tlb_page(kaddr)
- *
- *             Invalidate the TLB entry for the specified page.  The address
- *             will be in the kernels virtual memory space.  Current uses
- *             only require the D-TLB to be invalidated.
- *             - kaddr - Kernel virtual memory address
  */
 static inline void flush_tlb_all(void)

Probably you can remove the following comment in same file as well. "The arch/arm64/mm/tlb.S files implement these methods."

arch/arm64/mm/tlb.S file is no more and all the methods are implemented in the current file.

Thanks,
Arun

Quoted 9 lines
arch/arm64/include/asm/tlbflush.h +0 -1
 {
--

1.8.1.3

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel