lkml.org 
[lkml]   [2014]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 05/27] arc: Use common bits from generic tlb.h
Date
It is no longer needed to define them on our own.

Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Richard Weinberger <richard@nod.at>
---
arch/arc/include/asm/tlb.h | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/arch/arc/include/asm/tlb.h b/arch/arc/include/asm/tlb.h
index a9db5f6..a0fa06d 100644
--- a/arch/arc/include/asm/tlb.h
+++ b/arch/arc/include/asm/tlb.h
@@ -23,9 +23,7 @@ do { \
*
* Note, read http://lkml.org/lkml/2004/1/15/6
*/
-#ifndef CONFIG_ARC_CACHE_VIPT_ALIASING
-#define tlb_start_vma(tlb, vma)
-#else
+#ifdef CONFIG_ARC_CACHE_VIPT_ALIASING
#define tlb_start_vma(tlb, vma) \
do { \
if (!tlb->fullmm) \
@@ -39,8 +37,6 @@ do { \
flush_tlb_range(vma, vma->vm_start, vma->vm_end); \
} while (0)

-#define __tlb_remove_tlb_entry(tlb, ptep, address)
-
#include <linux/pagemap.h>
#include <asm-generic/tlb.h>

--
1.8.4.2


\
 
 \ /
  Last update: 2014-05-14 21:41    [W:0.406 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site