linux-metag.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 14/27] metag: Use common bits from generic tlb.h
       [not found] <1400093999-18703-1-git-send-email-richard@nod.at>
@ 2014-05-14 18:59 ` Richard Weinberger
       [not found]   ` <1400093999-18703-15-git-send-email-richard-/L3Ra7n9ekc@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Weinberger @ 2014-05-14 18:59 UTC (permalink / raw)
  To: linux-arch, arnd, linux-kernel
  Cc: Richard Weinberger, James Hogan, linux-metag

It is no longer needed to define them on our own.

Cc: James Hogan <james.hogan@imgtec.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: linux-metag@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Richard Weinberger <richard@nod.at>
---
 arch/metag/include/asm/tlb.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/arch/metag/include/asm/tlb.h b/arch/metag/include/asm/tlb.h
index 048282f1..0fb0b46 100644
--- a/arch/metag/include/asm/tlb.h
+++ b/arch/metag/include/asm/tlb.h
@@ -19,18 +19,8 @@
 		if (!tlb->fullmm)					      \
 			flush_tlb_range(vma, vma->vm_start, vma->vm_end);     \
 	} while (0)
-
-
-#else
-
-#define tlb_start_vma(tlb, vma)			do { } while (0)
-#define tlb_end_vma(tlb, vma)			do { } while (0)
-
 #endif
 
-#define __tlb_remove_tlb_entry(tlb, pte, addr)	do { } while (0)
-#define tlb_flush(tlb)				flush_tlb_mm((tlb)->mm)
-
 #include <asm-generic/tlb.h>
 
 #endif
-- 
1.8.4.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 14/27] metag: Use common bits from generic tlb.h
       [not found]   ` <1400093999-18703-15-git-send-email-richard-/L3Ra7n9ekc@public.gmane.org>
@ 2014-05-15  8:59     ` James Hogan
  0 siblings, 0 replies; 2+ messages in thread
From: James Hogan @ 2014-05-15  8:59 UTC (permalink / raw)
  To: Richard Weinberger, linux-arch-u79uwXL29TY76Z2rM5mHXA,
	arnd-r2nGTMty4D4, linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: linux-metag-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 1290 bytes --]

On 14/05/14 19:59, Richard Weinberger wrote:
> It is no longer needed to define them on our own.
> 
> Cc: James Hogan <james.hogan-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
> Cc: Richard Weinberger <richard-/L3Ra7n9ekc@public.gmane.org>
> Cc: linux-metag-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> Signed-off-by: Richard Weinberger <richard-/L3Ra7n9ekc@public.gmane.org>

Acked-by: James Hogan <james.hogan-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>

Thanks
James

> ---
>  arch/metag/include/asm/tlb.h | 10 ----------
>  1 file changed, 10 deletions(-)
> 
> diff --git a/arch/metag/include/asm/tlb.h b/arch/metag/include/asm/tlb.h
> index 048282f1..0fb0b46 100644
> --- a/arch/metag/include/asm/tlb.h
> +++ b/arch/metag/include/asm/tlb.h
> @@ -19,18 +19,8 @@
>  		if (!tlb->fullmm)					      \
>  			flush_tlb_range(vma, vma->vm_start, vma->vm_end);     \
>  	} while (0)
> -
> -
> -#else
> -
> -#define tlb_start_vma(tlb, vma)			do { } while (0)
> -#define tlb_end_vma(tlb, vma)			do { } while (0)
> -
>  #endif
>  
> -#define __tlb_remove_tlb_entry(tlb, pte, addr)	do { } while (0)
> -#define tlb_flush(tlb)				flush_tlb_mm((tlb)->mm)
> -
>  #include <asm-generic/tlb.h>
>  
>  #endif
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-15  8:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1400093999-18703-1-git-send-email-richard@nod.at>
2014-05-14 18:59 ` [PATCH 14/27] metag: Use common bits from generic tlb.h Richard Weinberger
     [not found]   ` <1400093999-18703-15-git-send-email-richard-/L3Ra7n9ekc@public.gmane.org>
2014-05-15  8:59     ` James Hogan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).